aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/message/fusion/mptsas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c
index f42781b92bdd..46cc90c9bfc6 100644
--- a/drivers/message/fusion/mptsas.c
+++ b/drivers/message/fusion/mptsas.c
@@ -1261,7 +1261,7 @@ mptsas_taskmgmt_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr)
1261 * enable work queue to remove device from upper layers 1261 * enable work queue to remove device from upper layers
1262 */ 1262 */
1263 list_del(&target_reset_list->list); 1263 list_del(&target_reset_list->list);
1264 if ((mptsas_find_vtarget(ioc, channel, id)) && !ioc->fw_events_off) 1264 if (!ioc->fw_events_off)
1265 mptsas_queue_device_delete(ioc, 1265 mptsas_queue_device_delete(ioc,
1266 &target_reset_list->sas_event_data); 1266 &target_reset_list->sas_event_data);
1267 1267