Thread (2 messages) 2 messages, 2 authors, 2014-03-11

[PATCH] pata_legacy: Remove dead code

STALE4589d

From: Silvan Jegen <hidden>
Date: 2014-03-10 22:28:46
Also in: kernel-janitors, lkml
Subsystem: libata subsystem (serial and parallel ata drivers), the rest · Maintainers: Damien Le Moal, Niklas Cassel, Linus Torvalds

The current flow of control prevents this function from being
called. Let's remove the call.

Signed-off-by: Silvan Jegen <redacted>
---
 drivers/ata/pata_legacy.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/ata/pata_legacy.c b/drivers/ata/pata_legacy.c
index be81642..bce2a8c 100644
--- a/drivers/ata/pata_legacy.c
+++ b/drivers/ata/pata_legacy.c
@@ -916,7 +916,6 @@ static __init int probe_chip_type(struct legacy_probe *probe)
 			local_irq_restore(flags);
 			return BIOS;
 		}
-		local_irq_restore(flags);
 	}
 
 	if (ht6560a & mask)
-- 
1.9.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help