genirq: Remove irq_node()
Macro irq_node() has no user. Remove it. Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Cc: Tony Luck <tony.luck@intel.com> Cc: Bjorn Helgaas <bhelgaas@google.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Randy Dunlap <rdunlap@infradead.org> Cc: Yinghai Lu <yinghai@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Link: http://lkml.kernel.org/r/1433391238-19471-3-git-send-email-jiang.liu@linux.intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
daf7ab7c58
commit
08dad486d9
|
@ -23,12 +23,6 @@ unsigned int irq_get_next_irq(unsigned int offset);
|
|||
; \
|
||||
else
|
||||
|
||||
#ifdef CONFIG_SMP
|
||||
#define irq_node(irq) (irq_get_irq_data(irq)->node)
|
||||
#else
|
||||
#define irq_node(irq) 0
|
||||
#endif
|
||||
|
||||
# define for_each_active_irq(irq) \
|
||||
for (irq = irq_get_next_irq(0); irq < nr_irqs; \
|
||||
irq = irq_get_next_irq(irq + 1))
|
||||
|
|
Loading…
Reference in New Issue