Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

lib/nlattr.c: remove redundant include

nlattr.c doesn't seem to rely on anything from netdevice.h. Removing it
yields identical objdump -d output for each of {allyes,allno,def}config,
and eliminates more than 200 lines from the generated dependency file.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Rasmus Villemoes and committed by
Linus Torvalds
fb41f9d7 a69ae45c

-1
-1
lib/nlattr.c
··· 9 9 #include <linux/kernel.h> 10 10 #include <linux/errno.h> 11 11 #include <linux/jiffies.h> 12 - #include <linux/netdevice.h> 13 12 #include <linux/skbuff.h> 14 13 #include <linux/string.h> 15 14 #include <linux/types.h>