Skip to content

fix unused but set variables

Conor Walsh dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 2 repliesIn review

v2 from the cover letter

- Drop lib/power patch as already covered by 0353121c3384 ("power: fix build with clang 13").
- Rework changes to vmxnet3 to ensure vmxnet_unmap_pkt is run.
- Minor changes to commit logs.
- Dropped all addresses from CC that bounced back.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6app/test: fix unused but set variablesapp/test/test_distributor_perf.c app/test/test_thash_perf.c+3 -30 replies
2/6drivers/bus/fslmc: fix unused but set variablesdrivers/bus/fslmc/fslmc_bus.c+0 -20 replies
3/6drivers/common/qat: fix unused but set variablesdrivers/common/qat/qat_pf2vf.c+0 -20 replies
4/6drivers/event/sw: fix unused but set variablesdrivers/event/sw/sw_evdev.c+0 -20 replies
5/6drivers/net: fix unused but set variablesdrivers/net/bnxt/bnxt_rxr.c drivers/net/bnxt/tf_ulp/ulp_utils.c drivers/net/hinic/base/hinic_pmd_mgmt.c +6 more+10 -431 reply
6/6examples/performance-thread: fix unused but set variablesexamples/performance-thread/l3fwd-thread/main.c+0 -30 replies

Reviews trailers per patch

3 of 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchVladimir MedvedkinHarry van HaarenDavid Marchand
SeriesR-b
1/6A-b
2/6
3/6
4/6A-b
5/6R-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/6] fix unused but set variables

When DPDK is compiled with clang 13, several warnings for unused but set variables are present.

This patchset fixes these warnings, which were present within:
- app/test
- drivers/bus/fslmc
- drivers/common/qat
- drivers/event/sw
- drivers/net
- examples/performance-thread

This patchset is split into 6 patches grouped broadly by subdir, as this set touches code from a lot of different authors this should make it easier to review.

Bugzilla ID: 881

---

v2:
- Drop lib/power patch as already covered by 0353121c3384 ("power: fix build with clang 13").
- Rework changes to vmxnet3 to ensure vmxnet_unmap_pkt is run.
- Minor changes to commit logs.
- Dropped all addresses from CC that bounced back.

Conor Walsh (6):
app/test: fix unused but set variables drivers/bus/fslmc: fix unused but set variables drivers/common/qat: fix unused but set variables drivers/event/sw: fix unused but set variables drivers/net: fix unused but set variables examples/performance-thread: fix unused but set variables

 app/test/test_distributor_perf.c              |  3 ---
 app/test/test_thash_perf.c                    |  3 +++
 drivers/bus/fslmc/fslmc_bus.c                 |  2 --
 drivers/common/qat/qat_pf2vf.c                |  2 --
 drivers/event/sw/sw_evdev.c                   |  2 --
 drivers/net/bnxt/bnxt_rxr.c                   | 22 -------------------
 drivers/net/bnxt/tf_ulp/ulp_utils.c           |  3 ---
 drivers/net/hinic/base/hinic_pmd_mgmt.c       |  6 -----
 drivers/net/liquidio/lio_rxtx.c               |  2 --
 drivers/net/nfp/nfp_cpp_bridge.c              |  6 ++---
 drivers/net/octeontx/octeontx_rxtx.h          |  3 +--
 drivers/net/qede/base/ecore_vf.c              |  5 +----
 drivers/net/txgbe/txgbe_ethdev_vf.c           |  3 +++
 drivers/net/vmxnet3/vmxnet3_rxtx.c            |  3 +++
 .../performance-thread/l3fwd-thread/main.c    |  3 ---
 15 files changed, 13 insertions(+), 55 deletions(-)
Signature · 1 line
2.25.1