Message ID | 20210714091747.2814370-1-morbo@google.com (mailing list archive) |
---|---|
Headers | show |
Series | Fix clang -Wunused-but-set-variable warnings | expand |
These patches clean up warnings from clang's '-Wunused-but-set-variable' flag. Changes for v2: - Mark "no_warn" as "__maybe_unused" to avoid separate warning. Bill Wendling (3): base: mark 'no_warn' as unused bnx2x: remove unused variable 'cur_data_offset' scsi: qla2xxx: remove unused variable 'status' drivers/base/module.c | 2 +- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c | 6 ------ drivers/scsi/qla2xxx/qla_nx.c | 2 -- 3 files changed, 1 insertion(+), 9 deletions(-)
On Mon, 26 Jul 2021 13:19:21 -0700, Bill Wendling wrote: > These patches clean up warnings from clang's '-Wunused-but-set-variable' flag. > > Changes for v2: > - Mark "no_warn" as "__maybe_unused" to avoid separate warning. > > Bill Wendling (3): > base: mark 'no_warn' as unused > bnx2x: remove unused variable 'cur_data_offset' > scsi: qla2xxx: remove unused variable 'status' > > [...] Applied to 5.15/scsi-queue, thanks! [3/3] scsi: qla2xxx: remove unused variable 'status' https://git.kernel.org/mkp/scsi/c/cb51bcd5c34b