Commit 61144d8
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>1 parent 5f2bce1 commit 61144d8
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6658 | 6658 | | |
6659 | 6659 | | |
6660 | 6660 | | |
6661 | | - | |
| 6661 | + | |
6662 | 6662 | | |
6663 | 6663 | | |
6664 | 6664 | | |
6665 | 6665 | | |
6666 | 6666 | | |
6667 | | - | |
| 6667 | + | |
6668 | 6668 | | |
6669 | 6669 | | |
6670 | 6670 | | |
| |||
0 commit comments