diff options
| -rw-r--r-- | drivers/scsi/scsi_lib.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index f8d51c3d5582..a6828391d6b3 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c | |||
| @@ -2598,7 +2598,6 @@ void scsi_device_resume(struct scsi_device *sdev) | |||
| 2598 | * device deleted during suspend) | 2598 | * device deleted during suspend) |
| 2599 | */ | 2599 | */ |
| 2600 | mutex_lock(&sdev->state_mutex); | 2600 | mutex_lock(&sdev->state_mutex); |
| 2601 | WARN_ON_ONCE(!sdev->quiesced_by); | ||
| 2602 | sdev->quiesced_by = NULL; | 2601 | sdev->quiesced_by = NULL; |
| 2603 | blk_clear_pm_only(sdev->request_queue); | 2602 | blk_clear_pm_only(sdev->request_queue); |
| 2604 | if (sdev->sdev_state == SDEV_QUIESCE) | 2603 | if (sdev->sdev_state == SDEV_QUIESCE) |
