mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] set_irq_chip() has redundant call to irq_to_desc()
@ 2008-09-05 14:10 Dean Nelson
  2008-09-05 14:47 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Dean Nelson @ 2008-09-05 14:10 UTC (permalink / raw)
  To: Ingo Molnar, Thomas Gleixner; +Cc: Yinghai Lu, linux-kernel

Extraneous call to irq_to_desc().

Signed-off-by: Dean Nelson <dcn@sgi.com>

---

 kernel/irq/chip.c |    1 -
 1 file changed, 1 deletion(-)

Index: linux/kernel/irq/chip.c
===================================================================
--- linux.orig/kernel/irq/chip.c	2008-09-05 08:04:21.000000000 -0500
+++ linux/kernel/irq/chip.c	2008-09-05 08:16:58.000000000 -0500
@@ -102,7 +102,6 @@ int set_irq_chip(unsigned int irq, struc
 	if (!chip)
 		chip = &no_irq_chip;
 
-	desc = irq_to_desc(irq);
 	spin_lock_irqsave(&desc->lock, flags);
 	irq_chip_set_defaults(chip);
 	desc->chip = chip;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] set_irq_chip() has redundant call to irq_to_desc()
  2008-09-05 14:10 [PATCH] set_irq_chip() has redundant call to irq_to_desc() Dean Nelson
@ 2008-09-05 14:47 ` Ingo Molnar
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2008-09-05 14:47 UTC (permalink / raw)
  To: Dean Nelson; +Cc: Thomas Gleixner, Yinghai Lu, linux-kernel


* Dean Nelson <dcn@sgi.com> wrote:

> Extraneous call to irq_to_desc().
> 
> Signed-off-by: Dean Nelson <dcn@sgi.com>

applied to tip/irq/sparseirq, thanks.

	Ingo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-09-05 14:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-05 14:10 [PATCH] set_irq_chip() has redundant call to irq_to_desc() Dean Nelson
2008-09-05 14:47 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®