summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_legacy.c
diff options
context:
space:
mode:
authorSilvan Jegen <s.jegen@gmail.com>2014-03-10 22:33:50 +0100
committerTejun Heo <tj@kernel.org>2014-03-11 08:30:53 -0400
commite853a4e01ffd0962a197f61e792178b458ae4763 (patch)
tree69b91ff5b220f23f6e11415b97612a5f1a4bc7a0 /drivers/ata/pata_legacy.c
parent9236a76d9e978aaa7709b8ff3f03c1a8b66d9ea7 (diff)
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 <s.jegen@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/pata_legacy.c')
-rw-r--r--drivers/ata/pata_legacy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/pata_legacy.c b/drivers/ata/pata_legacy.c
index be816428b430..bce2a8ca4678 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)