diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/ipr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index c983f0f07584..244173adf8b5 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c | |||
@@ -3776,7 +3776,7 @@ static int ipr_cancel_op(struct scsi_cmnd * scsi_cmd) | |||
3776 | */ | 3776 | */ |
3777 | if (ioa_cfg->in_reset_reload || ioa_cfg->ioa_is_dead) | 3777 | if (ioa_cfg->in_reset_reload || ioa_cfg->ioa_is_dead) |
3778 | return FAILED; | 3778 | return FAILED; |
3779 | if (!res || (!ipr_is_gscsi(res) && !ipr_is_vset_device(res))) | 3779 | if (!res || !ipr_is_gscsi(res)) |
3780 | return FAILED; | 3780 | return FAILED; |
3781 | 3781 | ||
3782 | list_for_each_entry(ipr_cmd, &ioa_cfg->pending_q, queue) { | 3782 | list_for_each_entry(ipr_cmd, &ioa_cfg->pending_q, queue) { |