|
@@ -266,8 +266,6 @@ static struct scsi_device *scsi_alloc_sdev(struct scsi_target *starget,
|
|
|
/*
|
|
|
* if LLDD reports slave not present, don't clutter
|
|
|
* console with alloc failure messages
|
|
|
-
|
|
|
-
|
|
|
*/
|
|
|
if (ret == -ENXIO)
|
|
|
display_failure_msg = 0;
|
|
@@ -279,7 +277,6 @@ static struct scsi_device *scsi_alloc_sdev(struct scsi_target *starget,
|
|
|
|
|
|
out_device_destroy:
|
|
|
transport_destroy_device(&sdev->sdev_gendev);
|
|
|
- scsi_free_queue(sdev->request_queue);
|
|
|
put_device(&sdev->sdev_gendev);
|
|
|
out:
|
|
|
if (display_failure_msg)
|