summaryrefslogtreecommitdiffstats
path: root/drivers/ata
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 13:30:53 +0100
commite853a4e01ffd0962a197f61e792178b458ae4763 (patch)
tree69b91ff5b220f23f6e11415b97612a5f1a4bc7a0 /drivers/ata
parentata: Fix CS55xx dependencies (diff)
downloadlinux-e853a4e01ffd0962a197f61e792178b458ae4763.tar.xz
linux-e853a4e01ffd0962a197f61e792178b458ae4763.zip
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')
-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)