Skip to content

Commit

Permalink
lib/idr.c: remove redundant include
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Villemoes authored and torvalds committed Feb 13, 2015
1 parent 3248340 commit 87d1d16
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/idr.c
Expand Up @@ -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)
Expand Down

0 comments on commit 87d1d16

Please sign in to comment.