On Fri, 06 Jun 2025 16:29:43 +0100, André Draszik wrote:
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; | ^~~~~~~~~
[...]
Applied to 6.17/scsi-queue, thanks!
[1/1] scsi: mpt3sas: drop unused variable in mpt3sas_send_mctp_passthru_req() https://git.kernel.org/mkp/scsi/c/0ec996edf4fd