Commit 4774bc9d authored by Colin Ian King's avatar Colin Ian King Committed by Martin K. Petersen

scsi: mptsas: remove duplicated assignment to pointer head

The pointer head is re-assigned the same value twice, so remove the
second redundant assignment.

Cleans up clang warning:
drivers/message/fusion/mptsas.c:1161:20: warning: Value stored to 'head'
during its initialization is never read
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent ca8dc694
...@@ -1165,7 +1165,6 @@ mptsas_schedule_target_reset(void *iocp) ...@@ -1165,7 +1165,6 @@ mptsas_schedule_target_reset(void *iocp)
* issue target reset to next device in the queue * issue target reset to next device in the queue
*/ */
head = &hd->target_reset_list;
if (list_empty(head)) if (list_empty(head))
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment