Browse Source

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>
Silvan Jegen 11 years ago
parent
commit
e853a4e01f
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/ata/pata_legacy.c

+ 0 - 1
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)