Skip to content

Commit

Permalink
[IA64] one-line cleanup on set_irq_affinity_info
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chen, Kenneth W authored and Tony Luck committed May 17, 2006
1 parent 41503de commit 4c31ce8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/ia64/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 4c31ce8

Please sign in to comment.