summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2015-02-12 15:03:19 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-12 18:54:16 -0800
commit6918584aad8e9c6b9a9be74b15bf9e7dafc2d691 (patch)
tree17e4267c31d3d3e70d148caf4efd77e374de57b5 /lib
parentbf3c2d6d2f9649f1cdfac96781e98a097e871147 (diff)
downloadlinux-stable-6918584aad8e9c6b9a9be74b15bf9e7dafc2d691.tar.gz
linux-stable-6918584aad8e9c6b9a9be74b15bf9e7dafc2d691.tar.bz2
linux-stable-6918584aad8e9c6b9a9be74b15bf9e7dafc2d691.zip
lib/percpu_ida.c: remove redundant includes
These three #includes seem to be completely redundant: Removing them yields identical objdump -d output for each of {allyes,allno,def}config, and neither included file end up in the generated dependency file through some recursive include. In total, about 50 lines are eliminated from .percpu.o.cmd. 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/percpu_ida.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/percpu_ida.c b/lib/percpu_ida.c
index 93d145e5539c..f75715131f20 100644
--- a/lib/percpu_ida.c
+++ b/lib/percpu_ida.c
@@ -19,13 +19,10 @@
#include <linux/bug.h>
#include <linux/err.h>
#include <linux/export.h>
-#include <linux/hardirq.h>
-#include <linux/idr.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/percpu.h>
#include <linux/sched.h>
-#include <linux/slab.h>
#include <linux/string.h>
#include <linux/spinlock.h>
#include <linux/percpu_ida.h>