[patch] one-line cleanup on set_irq_affinity_info

From: Chen, Kenneth W <kenneth.w.chen_at_intel.com>
Date: 2006-05-17 09:34:57
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>

--- ./arch/ia64/kernel/irq.c.orig	2006-05-16 17:13:23.000000000 -0700
+++ ./arch/ia64/kernel/irq.c	2006-05-16 17:22:11.000000000 -0700
@@ -101,7 +101,6 @@ void set_irq_affinity_info (unsigned int
 
 	if (irq < NR_IRQS) {
 		irq_affinity[irq] = mask;
-		set_irq_info(irq, mask);
 		irq_redir[irq] = (char) (redir & 0xff);
 	}
 }

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed May 17 09:35:32 2006

This archive was generated by hypermail 2.1.8 : 2006-05-17 09:35:50 EST