summaryrefslogtreecommitdiff
path: root/scripts/coccinelle
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2022-08-05 14:32:14 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2022-09-01 06:39:57 +0300
commit231159f33436326c97fd5f05a1926cae3e5b7885 (patch)
tree2ebfc4a086c6347cf131fefa3d6d8e012b7c1daa /scripts/coccinelle
parentf45fadde91ec892fdc453e3df9469e9457152526 (diff)
downloadlinux-231159f33436326c97fd5f05a1926cae3e5b7885.tar.xz
scsi: message: fusion: Remove redundant variable iocnum
Variable iocnum is assigned a value that is never read, the assignment and hence the variable are redundant can be removed. Also update the comment to reflect the correct name of the variable being updated. Cleans up clang-scan warning: drivers/message/fusion/mptctl.c:641:8: warning: Although the value stored to 'iocnum' is used in the enclosing expression, the value is never actually read from 'iocnum' [deadcode.DeadStores] Link: https://lore.kernel.org/r/20220805113214.2339022-1-colin.i.king@gmail.com Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/coccinelle')
0 files changed, 0 insertions, 0 deletions