diff options
| author | André Draszik <[email protected]> | 2025-06-06 15:29:43 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2025-06-16 18:23:50 +0000 |
| commit | 0ec996edf4fdb727340ec9f50e2795042c23cd86 (patch) | |
| tree | 94cba5ba4397ae5224c5d3fa0fa67b8ffe9a168a /drivers/scsi/scsi_debug.c | |
| parent | scsi: trace: Show rtn in string for scsi_dispatch_cmd_error() (diff) | |
| download | kernel-0ec996edf4fdb727340ec9f50e2795042c23cd86.tar.gz kernel-0ec996edf4fdb727340ec9f50e2795042c23cd86.zip | |
scsi: mpt3sas: Drop unused variable in mpt3sas_send_mctp_passthru_req()
With W=1, gcc complains correctly:
mpt3sas_ctl.c: In function ‘mpt3sas_send_mctp_passthru_req’:
mpt3sas_ctl.c:2917:29: error: variable ‘mpi_reply’ set but not used [-Werror=unused-but-set-variable]
2917 | MPI2DefaultReply_t *mpi_reply;
| ^~~~~~~~~
Drop the unused assignment and variable.
Signed-off-by: André Draszik <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
0 files changed, 0 insertions, 0 deletions
