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)
commit61144d83376a136d8aa7a9e057d916c505bfb75f
treefa7900c1701e8a69eb143702a6fa6272bd2018b5
parent5f2bce1e222028dc1c15f130109a17aa654ae6e8
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