summaryrefslogtreecommitdiffstats
path: root/lib/percpu_ida.c
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2015-02-13 00:03:19 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-13 03:54:16 +0100
commit6918584aad8e9c6b9a9be74b15bf9e7dafc2d691 (patch)
tree17e4267c31d3d3e70d148caf4efd77e374de57b5 /lib/percpu_ida.c
parentlib/strncpy_from_user.c: replace module.h include (diff)
downloadlinux-6918584aad8e9c6b9a9be74b15bf9e7dafc2d691.tar.xz
linux-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/percpu_ida.c')
-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>