pata_legacy: Remove dead code
Subsystems (2)
PATCH 1/1 pata_legacy: Remove dead code
The current flow of control prevents this function from being called. Let's remove the call.
Signed-off-by Silvan Jegen <[email protected]>
--- drivers/ata/pata_legacy.c | 1 - 1 file changed, 1 deletion(-)
drivers/ata/pata_legacy.c +0 -1
@@ -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)
Signature · 1 line
1.9.0
Tejun Heo
AppliedQuoted 4 lines · Silvan Jegen
The current flow of control prevents this function from being called. Let's remove the call.
Signed-off-by Silvan Jegen <[email protected]>
Applied to libata/for-3.15.
Thanks.
Signature · 1 line
tejun