projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9236a76
)
pata_legacy: Remove dead code
author
Silvan Jegen
<s.jegen@gmail.com>
Mon, 10 Mar 2014 21:33:50 +0000
(22:33 +0100)
committer
Tejun 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
patch
|
blob
|
history
diff --git
a/drivers/ata/pata_legacy.c
b/drivers/ata/pata_legacy.c
index
be81642
..
bce2a8c
100644
(file)
--- 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)