]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: message: fusion: Remove redundant variable dmp
authorColin Ian King <colin.i.king@gmail.com>
Fri, 18 Mar 2022 00:39:27 +0000 (00:39 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 7 Apr 2022 02:28:07 +0000 (22:28 -0400)
commit29e9706495a06841c1089d0288b00a304e16c11a
treefa7900c1701e8a69eb143702a6fa6272bd2018b5
parent7b08b464bbee885f84a4456dc9ea63e7c124307f
scsi: message: fusion: Remove redundant variable dmp

Variable dmp is being assigned a value that is never read, the variable is
redundant and can be removed.

Cleans up clang scan build warning:
drivers/message/fusion/mptbase.c:6667:39: warning: Although
the value stored to 'dmp' is used in the enclosing expression,
the value is never actually read from 'dmp' [deadcode.DeadStores]

Link: https://lore.kernel.org/r/20220318003927.81471-1-colin.i.king@gmail.com
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/message/fusion/mptbase.c