summaryrefslogtreecommitdiffstats
path: root/lib/nlattr.c
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2015-02-13 00:02:59 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-13 03:54:16 +0100
commitfb41f9d71c4b15474640d1c01ae2e90982d8d07e (patch)
tree08c0ac3657362911f01dc08338ba99385364627b /lib/nlattr.c
parentlib/kobject_uevent.c: remove redundant include (diff)
downloadlinux-fb41f9d71c4b15474640d1c01ae2e90982d8d07e.tar.xz
linux-fb41f9d71c4b15474640d1c01ae2e90982d8d07e.zip
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>
Diffstat (limited to '')
-rw-r--r--lib/nlattr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/nlattr.c b/lib/nlattr.c
index 9c3e85ff0a6c..76a1b59523ab 100644
--- a/lib/nlattr.c
+++ b/lib/nlattr.c
@@ -9,7 +9,6 @@
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/jiffies.h>
-#include <linux/netdevice.h>
#include <linux/skbuff.h>
#include <linux/string.h>
#include <linux/types.h>