[PATCH] slim: cleanup use of config.h

From: Kylene Jo Hall
Date: Wed Sep 20 2006 - 12:50:07 EST


The following patch addresses this comment to clean up the use of
config.h in the slim .c files.

On Mon, 2006-09-18 at 16:54 -0400, Dave Jones wrote:
> > > > +
> > > > +#include <asm/uaccess.h>
> > > > +#include <linux/config.h>
>
> You don't need to include config.h any more, kbuild does it for you.
> (Might want to check the other files for the same thing).
>
> Dave

Signed-off-by: Kylene Hall <kjhall@xxxxxxxxxx>
Signed-off-by: Mimi Zohar <zohar@xxxxxxxxxx>
---
security/slim/slm_main.c | 1 -
security/slim/slm_secfs.c | 1 -
2 files changed, 2 deletions(-)

--- linux-2.6.18-rc6-orig/security/slim/slm_main.c 2006-09-18 16:41:51.000000000 -0500
+++ linux-2.6.18-rc6/security/slim/slm_main.c 2006-09-19 14:50:35.000000000 -0500
@@ -11,7 +11,6 @@
*/

#include <linux/mman.h>
-#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/security.h>
#include <linux/integrity.h>
--- linux-2.6.18-rc6-orig/security/slim/slm_secfs.c 2006-09-18 16:41:48.000000000 -0500
+++ linux-2.6.18-rc6/security/slim/slm_secfs.c 2006-09-19 14:50:50.000000000 -0500
@@ -11,7 +11,6 @@
*/

#include <asm/uaccess.h>
-#include <linux/config.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/security.h>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/