Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
e853a4e01f
1 muutettua tiedostoa jossa 0 lisäystä ja 1 poistoa
  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)