]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
scsi: mptsas: remove duplicated assignment to pointer head
authorColin Ian King <colin.king@canonical.com>
Tue, 16 Jan 2018 19:08:15 +0000 (19:08 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 17 Jan 2018 06:19:38 +0000 (01:19 -0500)
commit4774bc9dce37199d8fcaa1ac0c8baaac1175f4a3
treeae608a194f3565aaa1be1f2b50d84142aa4fb39a
parentca8dc694045e9aa248e9916e0f614deb0494cb3d
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 <colin.king@canonical.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/message/fusion/mptsas.c