summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2015-02-12 15:02:59 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-12 18:54:16 -0800
commitfb41f9d71c4b15474640d1c01ae2e90982d8d07e (patch)
tree08c0ac3657362911f01dc08338ba99385364627b /lib
parenta69ae45c260d24a4497ed38ec87c1e5ba461cae4 (diff)
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 'lib')
-rw-r--r--lib/nlattr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/nlattr.c b/lib/nlattr.c
index 9c3e85ff0a6..76a1b59523a 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>