aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/s390/scsi/zfcp_scsi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/s390/scsi/zfcp_scsi.c b/drivers/s390/scsi/zfcp_scsi.c
index 3c9880e46e81..f81850624eed 100644
--- a/drivers/s390/scsi/zfcp_scsi.c
+++ b/drivers/s390/scsi/zfcp_scsi.c
@@ -181,7 +181,6 @@ static void zfcp_scsi_slave_destroy(struct scsi_device *sdpnt)
181 struct zfcp_unit *unit = (struct zfcp_unit *) sdpnt->hostdata; 181 struct zfcp_unit *unit = (struct zfcp_unit *) sdpnt->hostdata;
182 182
183 if (unit) { 183 if (unit) {
184 zfcp_erp_wait(unit->port->adapter);
185 atomic_clear_mask(ZFCP_STATUS_UNIT_REGISTERED, &unit->status); 184 atomic_clear_mask(ZFCP_STATUS_UNIT_REGISTERED, &unit->status);
186 sdpnt->hostdata = NULL; 185 sdpnt->hostdata = NULL;
187 unit->device = NULL; 186 unit->device = NULL;