rk: revert 20f3d0b+v3.0.66 to v3.0
[firefly-linux-kernel-4.4.55.git] / drivers / s390 / scsi / zfcp_scsi.c
index 3a417dff1b89b88f9e9c77277387faaa31091b55..2a4991d6d4d59a297b9e9599bd1a72eac70ee24d 100644 (file)
@@ -57,10 +57,6 @@ static void zfcp_scsi_slave_destroy(struct scsi_device *sdev)
 {
        struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev);
 
-       /* if previous slave_alloc returned early, there is nothing to do */
-       if (!zfcp_sdev->port)
-               return;
-
        zfcp_erp_lun_shutdown_wait(sdev, "scssd_1");
        put_device(&zfcp_sdev->port->dev);
 }