[PATCH 12/19] lib/plist.c: Remove redundant include

From: Rasmus Villemoes
Date: Tue Dec 30 2014 - 20:24:23 EST


Removing the include of linux/spinlock.h produces byte-identical
output for {allno,def}config, and identical objdump -d output for
allyesconfig. In the former two cases, more than a 100 lines are
eliminated from the generated dependency file.

Signed-off-by: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx>
---
lib/plist.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/lib/plist.c b/lib/plist.c
index d408e774b746..3a30c53db061 100644
--- a/lib/plist.c
+++ b/lib/plist.c
@@ -25,7 +25,6 @@

#include <linux/bug.h>
#include <linux/plist.h>
-#include <linux/spinlock.h>

#ifdef CONFIG_DEBUG_PI_LIST

--
2.1.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/