pata_legacy: Remove dead code
authorSilvan Jegen <s.jegen@gmail.com>
Mon, 10 Mar 2014 21:33:50 +0000 (22:33 +0100)
committerTejun Heo <tj@kernel.org>
Tue, 11 Mar 2014 12:30:53 +0000 (08:30 -0400)
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>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/pata_legacy.c

index be81642..bce2a8c 100644 (file)
@@ -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)