Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1165,7 +1165,6 @@ mptsas_schedule_target_reset(void *iocp)
	 * issue target reset to next device in the queue
	 */

	head = &hd->target_reset_list;
	if (list_empty(head))
		return;