diff options
| author | Colin Ian King <[email protected]> | 2022-07-30 12:45:09 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2022-08-01 23:53:18 +0000 |
| commit | 6464d5b8a2768e8ff63d24b76299fe614e205aa7 (patch) | |
| tree | 49991da428027127438095a735f0f3d44883f40a /drivers/fpga/microchip-spi.c | |
| parent | scsi: FlashPoint: Remove redundant variable bm_int_st (diff) | |
| download | kernel-6464d5b8a2768e8ff63d24b76299fe614e205aa7.tar.gz kernel-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/[email protected]
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions
