Skip to content

Commit 4774bc9

Browse files
Colin Ian Kingmartinkpetersen
authored andcommitted
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: Colin Ian King <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent ca8dc69 commit 4774bc9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/message/fusion/mptsas.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1165,7 +1165,6 @@ mptsas_schedule_target_reset(void *iocp)
11651165
* issue target reset to next device in the queue
11661166
*/
11671167

1168-
head = &hd->target_reset_list;
11691168
if (list_empty(head))
11701169
return;
11711170

0 commit comments

Comments
 (0)