summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2015-02-13 00:02:43 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-13 03:54:15 +0100
commit87d1d16937f64dd7822aee8b2e35b2f3ed3200b4 (patch)
tree8b89c6c5ca7f07ba2e0702015ee7e0a0dc491361 /lib
parentlib/halfmd4.c: simplify includes (diff)
downloadlinux-87d1d16937f64dd7822aee8b2e35b2f3ed3200b4.tar.xz
linux-87d1d16937f64dd7822aee8b2e35b2f3ed3200b4.zip
lib/idr.c: remove redundant include
idr.c doesn't seem to use anything from hardirq.h (or anything included from that). Removing it produces identical objdump -d output, and gives 44 fewer lines in the .idr.o.cmd 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/idr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/idr.c b/lib/idr.c
index e654aebd5f80..5335c43adf46 100644
--- a/lib/idr.c
+++ b/lib/idr.c
@@ -30,7 +30,6 @@
#include <linux/idr.h>
#include <linux/spinlock.h>
#include <linux/percpu.h>
-#include <linux/hardirq.h>
#define MAX_IDR_SHIFT (sizeof(int) * 8 - 1)
#define MAX_IDR_BIT (1U << MAX_IDR_SHIFT)