* [PATCH] pata_legacy: Remove dead code
@ 2014-03-10 21:33 Silvan Jegen
2014-03-11 12:32 ` Tejun Heo
0 siblings, 1 reply; 2+ messages in thread
From: Silvan Jegen @ 2014-03-10 21:33 UTC (permalink / raw)
To: Tejun Heo, linux-ide; +Cc: linux-kernel, kernel-janitors
The current flow of control prevents this function from being
called. Let's remove the call.
Signed-off-by: Silvan Jegen <s.jegen@gmail.com>
---
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] pata_legacy: Remove dead code
2014-03-10 21:33 [PATCH] pata_legacy: Remove dead code Silvan Jegen
@ 2014-03-11 12:32 ` Tejun Heo
0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2014-03-11 12:32 UTC (permalink / raw)
To: Silvan Jegen; +Cc: linux-ide, linux-kernel, kernel-janitors
On Mon, Mar 10, 2014 at 10:33:50PM +0100, Silvan Jegen wrote:
> The current flow of control prevents this function from being
> called. Let's remove the call.
>
> Signed-off-by: Silvan Jegen <s.jegen@gmail.com>
Applied to libata/for-3.15.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-11 12:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-10 21:33 [PATCH] pata_legacy: Remove dead code Silvan Jegen
2014-03-11 12:32 ` Tejun Heo
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®