diff --git a/drivers/ata/pata_legacy.c b/drivers/ata/pata_legacy.c index be816428b430fbb73135ef1591bbde2219097221..bce2a8ca4678ace5375b6a0f90699481b8ff9659 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)