diff options
Diffstat (limited to 'drivers/scsi/device_handler/scsi_dh_alua.c')
-rw-r--r-- | drivers/scsi/device_handler/scsi_dh_alua.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/device_handler/scsi_dh_alua.c b/drivers/scsi/device_handler/scsi_dh_alua.c index 6b729324b8d3..afb1d058edbd 100644 --- a/drivers/scsi/device_handler/scsi_dh_alua.c +++ b/drivers/scsi/device_handler/scsi_dh_alua.c | |||
@@ -303,7 +303,6 @@ done: | |||
303 | static unsigned submit_stpg(struct alua_dh_data *h) | 303 | static unsigned submit_stpg(struct alua_dh_data *h) |
304 | { | 304 | { |
305 | struct request *rq; | 305 | struct request *rq; |
306 | int err = SCSI_DH_RES_TEMP_UNAVAIL; | ||
307 | int stpg_len = 8; | 306 | int stpg_len = 8; |
308 | struct scsi_device *sdev = h->sdev; | 307 | struct scsi_device *sdev = h->sdev; |
309 | 308 | ||
@@ -332,7 +331,7 @@ static unsigned submit_stpg(struct alua_dh_data *h) | |||
332 | rq->end_io_data = h; | 331 | rq->end_io_data = h; |
333 | 332 | ||
334 | blk_execute_rq_nowait(rq->q, NULL, rq, 1, stpg_endio); | 333 | blk_execute_rq_nowait(rq->q, NULL, rq, 1, stpg_endio); |
335 | return err; | 334 | return SCSI_DH_OK; |
336 | } | 335 | } |
337 | 336 | ||
338 | /* | 337 | /* |