[PATCH] slim: cleanup use of config.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>
Signed-off-by: Mimi Zohar <[email protected]>
---
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux