[IA64] one-line cleanup on set_irq_affinity_info
authorChen, Kenneth W <kenneth.w.chen@intel.com>
Tue, 16 May 2006 23:34:57 +0000 (16:34 -0700)
committerTony Luck <tony.luck@intel.com>
Wed, 17 May 2006 13:20:59 +0000 (06:20 -0700)
Calls to set_irq_info in set_irq_affinity_info() is redundant because
irq_affinity mask was set just one line immediately above it.  Remove
that duplicate call.

Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/irq.c

index 5ce908ef9c9585f5f0350503fa39caf0e3e732bf..9c72ea3f6432d115ca32090d0c8bd9c8365d5c07 100644 (file)
@@ -101,7 +101,6 @@ void set_irq_affinity_info (unsigned int irq, int hwid, int redir)
 
        if (irq < NR_IRQS) {
                irq_affinity[irq] = mask;
-               set_irq_info(irq, mask);
                irq_redir[irq] = (char) (redir & 0xff);
        }
 }