summaryrefslogtreecommitdiff
path: root/lib/idr.c
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2015-02-13 02:02:43 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-13 05:54:15 +0300
commit87d1d16937f64dd7822aee8b2e35b2f3ed3200b4 (patch)
tree8b89c6c5ca7f07ba2e0702015ee7e0a0dc491361 /lib/idr.c
parent3248340d3f10871d2ae2d1df9e323f284fa1fdb6 (diff)
downloadlinux-87d1d16937f64dd7822aee8b2e35b2f3ed3200b4.tar.xz
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/idr.c')
-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)