Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Rasmus Villemoes and committed by
Linus Torvalds
87d1d169 3248340d

-1
-1
lib/idr.c
··· 30 30 #include <linux/idr.h> 31 31 #include <linux/spinlock.h> 32 32 #include <linux/percpu.h> 33 - #include <linux/hardirq.h> 34 33 35 34 #define MAX_IDR_SHIFT (sizeof(int) * 8 - 1) 36 35 #define MAX_IDR_BIT (1U << MAX_IDR_SHIFT)