diff options
author | 2025-06-06 16:29:43 +0100 | |
---|---|---|
committer | 2025-06-16 14:23:50 -0400 | |
commit | 0ec996edf4fdb727340ec9f50e2795042c23cd86 (patch) | |
tree | 94cba5ba4397ae5224c5d3fa0fa67b8ffe9a168a /rust/pin-init/internal/src | |
parent | scsi: trace: Show rtn in string for scsi_dispatch_cmd_error() (diff) | |
download | wireguard-linux-0ec996edf4fdb727340ec9f50e2795042c23cd86.tar.xz wireguard-linux-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 <andre.draszik@linaro.org>
Link: https://lore.kernel.org/r/20250606-mpt3sas-v1-1-906ffe49fb6b@linaro.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'rust/pin-init/internal/src')
0 files changed, 0 insertions, 0 deletions