diff options
author | Silvan Jegen <s.jegen@gmail.com> | 2014-03-10 22:33:50 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-03-11 08:30:53 -0400 |
commit | e853a4e01ffd0962a197f61e792178b458ae4763 (patch) | |
tree | 69b91ff5b220f23f6e11415b97612a5f1a4bc7a0 /drivers/ata/pata_legacy.c | |
parent | 9236a76d9e978aaa7709b8ff3f03c1a8b66d9ea7 (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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/pata_legacy.c b/drivers/ata/pata_legacy.c index be816428b43..bce2a8ca467 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) |