diff options
Diffstat (limited to 'drivers/ata/libata-core.c')
-rw-r--r-- | drivers/ata/libata-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index f23d6d46b95b..0a6a943b3779 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -6128,7 +6128,7 @@ static void ata_port_detach(struct ata_port *ap) | |||
6128 | /* it better be dead now */ | 6128 | /* it better be dead now */ |
6129 | WARN_ON(!(ap->pflags & ATA_PFLAG_UNLOADED)); | 6129 | WARN_ON(!(ap->pflags & ATA_PFLAG_UNLOADED)); |
6130 | 6130 | ||
6131 | cancel_rearming_delayed_work(&ap->hotplug_task); | 6131 | cancel_delayed_work_sync(&ap->hotplug_task); |
6132 | 6132 | ||
6133 | skip_eh: | 6133 | skip_eh: |
6134 | if (ap->pmp_link) { | 6134 | if (ap->pmp_link) { |