genirq: Remove irq_node()
authorJiang Liu <jiang.liu@linux.intel.com>
Thu, 4 Jun 2015 04:13:12 +0000 (12:13 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 25 Jun 2015 10:06:45 +0000 (12:06 +0200)
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>
include/linux/irqnr.h

index fdd5cc1..9669bf9 100644 (file)
@@ -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))