Skip to content

Commit e853a4e

Browse files
Shugyoushahtejun
authored andcommitted
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>
1 parent 9236a76 commit e853a4e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎drivers/ata/pata_legacy.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,6 @@ static __init int probe_chip_type(struct legacy_probe *probe)
916916
local_irq_restore(flags);
917917
return BIOS;
918918
}
919-
local_irq_restore(flags);
920919
}
921920

922921
if (ht6560a & mask)

0 commit comments

Comments
 (0)