summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2015-02-13 02:02:59 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-13 05:54:16 +0300
commitfb41f9d71c4b15474640d1c01ae2e90982d8d07e (patch)
tree08c0ac3657362911f01dc08338ba99385364627b
parenta69ae45c260d24a4497ed38ec87c1e5ba461cae4 (diff)
downloadlinux-fb41f9d71c4b15474640d1c01ae2e90982d8d07e.tar.xz
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>
-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>