DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 0/7] fix unused but set variables
@ 2021-11-12 14:01 Conor Walsh
  2021-11-12 14:01 ` [PATCH 1/7] app/test: " Conor Walsh
                   ` (7 more replies)
  0 siblings, 8 replies; 31+ messages in thread
From: Conor Walsh @ 2021-11-12 14:01 UTC (permalink / raw)
  To: ferruh.yigit, david.marchand, longfengx.liang, dev
  Cc: david.hunt, yipeng1.wang, sameh.gobriel, bruce.richardson,
	vladimir.medvedkin, hemant.agrawal, sachin.saxena, fiona.trahe,
	john.griffin, deepak.k.jain, harry.van.haaren, ajit.khaparde,
	somnath.kotur, xuanziyang2, cloud.wangxiaoyun, zhouguoyang,
	sthotton, srinivasan, heinrich.kuhn, hkalra, rmody, dsinghrawat,
	jiawenwu, yongwang, john.mcnamara, shreyansh.jain,
	santosh.shukla, gakhil, roy.fan.zhang, arkadiuszx.kusztal,
	michael.baucom, venkatkumar.duvvuru, lance.richardson,
	kishore.padmanabha, jerin.jacob, derek.chickles, ssrinivasan,
	mjatharakonda, simon.horman, david.george, sony.chacko,
	harish.patil, stephen, tomaszx.kulasek, ian.betts, liang.j.ma,
	lei.a.yao, Conor Walsh

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


^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2021-11-16 12:28 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-12 14:01 [PATCH 0/7] fix unused but set variables Conor Walsh
2021-11-12 14:01 ` [PATCH 1/7] app/test: " Conor Walsh
2021-11-12 14:29   ` Medvedkin, Vladimir
2021-11-12 14:01 ` [PATCH 2/7] drivers/bus/fslmc: " Conor Walsh
2021-11-12 14:01 ` [PATCH 3/7] drivers/common/qat: " Conor Walsh
2021-11-12 14:01 ` [PATCH 4/7] drivers/event/sw: " Conor Walsh
2021-11-12 15:15   ` Van Haaren, Harry
2021-11-12 14:01 ` [PATCH 5/7] drivers/net: " Conor Walsh
2021-11-12 16:17   ` Ferruh Yigit
2021-11-12 16:27     ` David Marchand
2021-11-12 16:38       ` Walsh, Conor
2021-11-12 16:41         ` Stephen Hemminger
2021-11-12 16:46           ` Walsh, Conor
2021-11-12 16:35     ` Walsh, Conor
2021-11-15  9:28   ` David Marchand
2021-11-16  4:58     ` Somnath Kotur
2021-11-16  5:08       ` Ajit Khaparde
2021-11-12 14:01 ` [PATCH 6/7] examples/performance-thread: " Conor Walsh
2021-11-12 14:01 ` [PATCH 7/7] lib/power: " Conor Walsh
2021-11-12 14:13   ` David Marchand
2021-11-12 14:17     ` Walsh, Conor
2021-11-12 14:26       ` David Marchand
2021-11-15 17:58 ` [PATCH 0/6] " Conor Walsh
2021-11-15 17:58   ` [PATCH 1/6] app/test: " Conor Walsh
2021-11-15 17:58   ` [PATCH 2/6] drivers/bus/fslmc: " Conor Walsh
2021-11-15 17:58   ` [PATCH 3/6] drivers/common/qat: " Conor Walsh
2021-11-15 17:58   ` [PATCH 4/6] drivers/event/sw: " Conor Walsh
2021-11-15 17:58   ` [PATCH 5/6] drivers/net: " Conor Walsh
2021-11-16 12:04     ` David Marchand
2021-11-15 17:58   ` [PATCH 6/6] examples/performance-thread: " Conor Walsh
2021-11-16 12:28   ` [PATCH 0/6] " David Marchand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).