diff options
-rw-r--r-- | drivers/scsi/scsi_scan.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c index 374853df9cca..be276ea8f033 100644 --- a/drivers/scsi/scsi_scan.c +++ b/drivers/scsi/scsi_scan.c | |||
@@ -279,7 +279,6 @@ static struct scsi_device *scsi_alloc_sdev(struct scsi_target *starget, | |||
279 | 279 | ||
280 | out_device_destroy: | 280 | out_device_destroy: |
281 | transport_destroy_device(&sdev->sdev_gendev); | 281 | transport_destroy_device(&sdev->sdev_gendev); |
282 | scsi_free_queue(sdev->request_queue); | ||
283 | put_device(&sdev->sdev_gendev); | 282 | put_device(&sdev->sdev_gendev); |
284 | out: | 283 | out: |
285 | if (display_failure_msg) | 284 | if (display_failure_msg) |