[PATCH 0/7] fix unused but set variables
Conor Walsh
conor.walsh at intel.com
Fri Nov 12 15:01:04 CET 2021
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
- lib/power
I split this patchset into 7 patches grouped broadly by subdir, as this
set touches code from a lot of different authors I thought it would make
it easier to review.
Bugzilla ID: 881
Conor Walsh (7):
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
lib/power: fix unused but set variables
app/test/test_distributor_perf.c | 3 ---
app/test/test_thash_perf.c | 2 ++
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 | 2 ++
drivers/net/vmxnet3/vmxnet3_rxtx.c | 8 +++++++
.../performance-thread/l3fwd-thread/main.c | 3 ---
lib/power/rte_power_empty_poll.c | 3 +--
16 files changed, 17 insertions(+), 57 deletions(-)
--
2.25.1
More information about the dev
mailing list