diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2022-07-30 13:45:09 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-08-01 19:53:18 -0400 |
commit | 6464d5b8a2768e8ff63d24b76299fe614e205aa7 (patch) | |
tree | 49991da428027127438095a735f0f3d44883f40a /lib/mpi/mpi-bit.c | |
parent | 554b117e8fab4f7c53090eca693f47e0c7b18490 (diff) |
scsi: megaraid_sas: Remove redundant variable cmd_type
The variable cmd_type is assigned a value but it is never read. The
variable and the assignment are redundant and can be removed.
Cleans up clang scan build warning:
drivers/scsi/megaraid/megaraid_sas_fusion.c:3228:10: warning: Although
the value stored to 'cmd_type' is used in the enclosing expression, the
value is never actually read from 'cmd_type' [deadcode.DeadStores]
Link: https://lore.kernel.org/r/20220730124509.148457-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 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions