summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2015-02-12 15:02:43 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-12 18:54:15 -0800
commit87d1d16937f64dd7822aee8b2e35b2f3ed3200b4 (patch)
tree8b89c6c5ca7f07ba2e0702015ee7e0a0dc491361
parent3248340d3f10871d2ae2d1df9e323f284fa1fdb6 (diff)
downloadlinux-87d1d16937f64dd7822aee8b2e35b2f3ed3200b4.tar.gz
linux-87d1d16937f64dd7822aee8b2e35b2f3ed3200b4.tar.bz2
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>
-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)