staging: me4000: remove duplicated #include's
Removed duplicated #include's in drivers/staging/me4000/me4000.c
asm/uaccess.h
linux/fs.h
drivers/staging/me4000/me4000.c +0 -2
@@ -30,7 +30,6 @@#include <asm/uaccess.h> #include <linux/errno.h> #include <linux/delay.h> -#include <linux/fs.h> #include <linux/mm.h> #include <linux/unistd.h> #include <linux/list.h>
@@ -39,7 +38,6 @@#include <linux/poll.h> #include <linux/vmalloc.h> #include <asm/pgtable.h> -#include <asm/uaccess.h> #include <linux/types.h> #include <linux/slab.h>
Quoted 19 lines · Huang Weiyi
Removed duplicated #include's in
drivers/staging/me4000/me4000.c
asm/uaccess.h
linux/fs.hSigned-off-by Huang Weiyi <[email protected]>drivers/staging/me4000/me4000.c +0
-1@@ -30,7 +30,6 @@#include <asm/uaccess.h> #include <linux/errno.h> #include <linux/delay.h> -#include <linux/fs.h> #include <linux/mm.h> #include <linux/unistd.h> #include <linux/list.h>
drivers/staging/me4000/me4000.c line 43
Quoted 7 lines
drivers/staging/me4000/me4000.c +0
-1@@ -39,7 +38,6 @@#include <linux/poll.h> #include <linux/vmalloc.h> #include <asm/pgtable.h> -#include <asm/uaccess.h> #include <linux/types.h> #include <linux/slab.h>
Hm, this doesn't apply anymore as some cleanups went in that should have just made this not needed.
But if you have a script I can run somewhere to verify it, I'd appreciate it.
thanks,
greg k-h
Quoted 26 lines · Greg KH
Quoted 25 lines · Huang Weiyi
Removed duplicated #include's in
drivers/staging/me4000/me4000.c
asm/uaccess.h
linux/fs.hSigned-off-by Huang Weiyi <[email protected]>drivers/staging/me4000/me4000.c +0
-2@@ -30,7 +30,6 @@#include <asm/uaccess.h> #include <linux/errno.h> #include <linux/delay.h> -#include <linux/fs.h> #include <linux/mm.h> #include <linux/unistd.h> #include <linux/list.h> @@ -39,7 +38,6 @@#include <linux/poll.h> #include <linux/vmalloc.h> #include <asm/pgtable.h> -#include <asm/uaccess.h> #include <linux/types.h>
Quoted 7 lines
drivers/staging/me4000/me4000.c line 43
Quoted 1 line
drivers/staging/me4000/me4000.c +0
-0#include <linux/slab.h> Hm, this doesn't apply anymore as some cleanups went in that should have just made this not needed.
But if you have a script I can run somewhere to verify it, I'd appreciate it.
linux-2.6$ make help | grep include
includecheck - Check for duplicate included header files
linux-2.6$
Quoted 3 lines
thanks,
greg k-h
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon SeedQuoted 32 lines · Adrian Bunk
Quoted 31 lines · Greg KH
Quoted 19 lines · Huang Weiyi
Removed duplicated #include's in
drivers/staging/me4000/me4000.c
asm/uaccess.h
linux/fs.hSigned-off-by Huang Weiyi <[email protected]>drivers/staging/me4000/me4000.c +0
-1@@ -30,7 +30,6 @@#include <asm/uaccess.h> #include <linux/errno.h> #include <linux/delay.h> -#include <linux/fs.h> #include <linux/mm.h> #include <linux/unistd.h> #include <linux/list.h> drivers/staging/me4000/me4000.c line 43
Quoted 7 lines
drivers/staging/me4000/me4000.c +0
-1@@ -39,7 +38,6 @@#include <linux/poll.h> #include <linux/vmalloc.h> #include <asm/pgtable.h> -#include <asm/uaccess.h> #include <linux/types.h> #include <linux/slab.h> Hm, this doesn't apply anymore as some cleanups went in that should have just made this not needed.
Quoted 6 lines
Quoted 2 lines
But if you have a script I can run somewhere to verify it, I'd appreciate it.
linux-2.6$ make help | grep include
includecheck - Check for duplicate included header files
linux-2.6$
Is there a way to get this to just check in a user-specified directory? I didn't see any options for that and adding M=drivers/staging didn't help.
Quoted 21 lines
Quoted 4 lines
thanks,
greg k-h
cu
Adrian--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed--
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/
Quoted 36 lines · J.R. Mauro
Quoted 35 lines · Adrian Bunk
Quoted 33 lines · Greg KH
Quoted 19 lines · Huang Weiyi
Removed duplicated #include's in
drivers/staging/me4000/me4000.c
asm/uaccess.h
linux/fs.hSigned-off-by Huang Weiyi <[email protected]>drivers/staging/me4000/me4000.c +0
-1@@ -30,7 +30,6 @@#include <asm/uaccess.h> #include <linux/errno.h> #include <linux/delay.h> -#include <linux/fs.h> #include <linux/mm.h> #include <linux/unistd.h> #include <linux/list.h> drivers/staging/me4000/me4000.c line 43
Quoted 7 lines
drivers/staging/me4000/me4000.c +0
-1@@ -39,7 +38,6 @@#include <linux/poll.h> #include <linux/vmalloc.h> #include <asm/pgtable.h> -#include <asm/uaccess.h> #include <linux/types.h> #include <linux/slab.h> Hm, this doesn't apply anymore as some cleanups went in that should have just made this not needed.
But if you have a script I can run somewhere to verify it, I'd appreciate it.
Quoted 7 lines
Quoted 3 lines
linux-2.6$ make help | grep include
includecheck - Check for duplicate included header files
linux-2.6$Is there a way to get this to just check in a user-specified directory? I didn't see any options for that and adding M=drivers/staging didn't help.
Pipe the output through grep.
Or if you really want to limit what gets checked, setting the path in the Makefile is trivial.
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon SeedQuoted 41 lines · Adrian Bunk
Quoted 40 lines · J.R. Mauro
Quoted 38 lines · Adrian Bunk
Quoted 26 lines · Greg KH
Quoted 25 lines · Huang Weiyi
Removed duplicated #include's in
drivers/staging/me4000/me4000.c
asm/uaccess.h
linux/fs.hSigned-off-by Huang Weiyi <[email protected]>drivers/staging/me4000/me4000.c +0
-2@@ -30,7 +30,6 @@#include <asm/uaccess.h> #include <linux/errno.h> #include <linux/delay.h> -#include <linux/fs.h> #include <linux/mm.h> #include <linux/unistd.h> #include <linux/list.h> @@ -39,7 +38,6 @@#include <linux/poll.h> #include <linux/vmalloc.h> #include <asm/pgtable.h> -#include <asm/uaccess.h> #include <linux/types.h> Quoted 7 lines
drivers/staging/me4000/me4000.c line 43
Quoted 1 line
drivers/staging/me4000/me4000.c +0
-0#include <linux/slab.h> Hm, this doesn't apply anymore as some cleanups went in that should have just made this not needed.
But if you have a script I can run somewhere to verify it, I'd appreciate it.
linux-2.6$ make help | grep include
includecheck - Check for duplicate included header files
linux-2.6$
Quoted 8 lines
Quoted 3 lines
Is there a way to get this to just check in a user-specified directory? I didn't see any options for that and adding M=drivers/staging didn't help.
Pipe the output through grep.
Or if you really want to limit what gets checked, setting the path in the
Makefileis trivial.
Yes, I guess I meant something like this quick-n-dirty patch. I got bored waiting for the includecheck to finish on the whole source tree, so it's nice to be able to tell it to check only what I'm interested in.
(don't try to apply this patch as gmail mutilates tabs)
---
Makefile +1 -1
@@ -1524,7 +1524,7 @@ tags: FORCE # --------------------------------------------------------------------------- includecheck: - find * $(RCS_FIND_IGNORE) \ + find $(if $(M),$(M)/)* $(RCS_FIND_IGNORE) \ -name '*.[hcS]' -type f -print | sort \ | xargs $(PERL) -w $(srctree)/scripts/checkincludes.pl
Quoted 12 lines
cu
Adrian--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed