lkml.org 
[lkml]   [2008]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] set_irq_chip() has redundant call to irq_to_desc()
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;

\
 
 \ /
  Last update: 2008-09-05 16:13    [W:0.030 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site