projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca8dc69
)
scsi: mptsas: remove duplicated assignment to pointer head
author
Colin Ian King
<
[email protected]
>
Tue, 16 Jan 2018 19:08:15 +0000
(19:08 +0000)
committer
Martin K. Petersen
<
[email protected]
>
Wed, 17 Jan 2018 06:19:38 +0000
(
01:19
-0500)
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]
>
drivers/message/fusion/mptsas.c
patch
|
blob
|
history
diff --git
a/drivers/message/fusion/mptsas.c
b/drivers/message/fusion/mptsas.c
index 345f6035599eaf91e20032fd1f5d819b9549729e..439ee9c5f535a805101637c109028ff56759abff 100644
(file)
--- a/
drivers/message/fusion/mptsas.c
+++ b/
drivers/message/fusion/mptsas.c
@@
-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;