diff options
author | 2022-07-30 13:45:09 +0100 | |
---|---|---|
committer | 2022-08-01 19:53:18 -0400 | |
commit | 6464d5b8a2768e8ff63d24b76299fe614e205aa7 (patch) | |
tree | 49991da428027127438095a735f0f3d44883f40a /scripts/generate_rust_analyzer.py | |
parent | scsi: FlashPoint: Remove redundant variable bm_int_st (diff) | |
download | wireguard-linux-6464d5b8a2768e8ff63d24b76299fe614e205aa7.tar.xz wireguard-linux-6464d5b8a2768e8ff63d24b76299fe614e205aa7.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions