Fix clang -Wunused-but-set-variable warnings
Status from this message: Applied to 5.15/scsi-staging, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 26 repliesApplied
- v13 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- Mark "no_warn" as "__maybe_unused" to avoid separate warning.
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | base: mark 'no_warn' as unuseddrivers/ | +1 | 22 replies | |
| 2/3 | bnx2x: remove unused variable 'cur_data_offset'drivers/ | +0 | 1 reply | |
| 3/3 | scsi: qla2xxx: remove unused variable 'status'drivers/ | +0 | 2 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Nathan Chancellor |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] Fix clang -Wunused-but-set-variable warnings
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(-)
Signature · 1 line
2.32.0.432.gabb21c7263-goog