]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
lib/idr.c: remove redundant include
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Thu, 12 Feb 2015 23:02:43 +0000 (15:02 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 13 Feb 2015 02:54:15 +0000 (18:54 -0800)
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>
lib/idr.c

index e654aebd5f807decad9b6cdacf58e1978562badd..5335c43adf46af55bb90717aa63afe33a6a30e9c 100644 (file)
--- 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)