diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2015-02-12 15:03:19 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-12 18:54:16 -0800 |
commit | 6918584aad8e9c6b9a9be74b15bf9e7dafc2d691 (patch) | |
tree | 17e4267c31d3d3e70d148caf4efd77e374de57b5 | |
parent | bf3c2d6d2f9649f1cdfac96781e98a097e871147 (diff) | |
download | op-kernel-dev-6918584aad8e9c6b9a9be74b15bf9e7dafc2d691.zip op-kernel-dev-6918584aad8e9c6b9a9be74b15bf9e7dafc2d691.tar.gz |
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>
-rw-r--r-- | lib/percpu_ida.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/percpu_ida.c b/lib/percpu_ida.c index 93d145e..f757151 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> |