From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E944EA034F; Fri, 12 Nov 2021 15:01:29 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8A68E410E3; Fri, 12 Nov 2021 15:01:29 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 0708A40692 for ; Fri, 12 Nov 2021 15:01:27 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10165"; a="296569925" X-IronPort-AV: E=Sophos;i="5.87,229,1631602800"; d="scan'208";a="296569925" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Nov 2021 06:01:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,229,1631602800"; d="scan'208";a="493013312" Received: from silpixa00401160.ir.intel.com ([10.55.129.96]) by orsmga007.jf.intel.com with ESMTP; 12 Nov 2021 06:01:16 -0800 From: Conor Walsh To: ferruh.yigit@intel.com, david.marchand@redhat.com, longfengx.liang@intel.com, dev@dpdk.org Cc: david.hunt@intel.com, yipeng1.wang@intel.com, sameh.gobriel@intel.com, bruce.richardson@intel.com, vladimir.medvedkin@intel.com, hemant.agrawal@nxp.com, sachin.saxena@oss.nxp.com, fiona.trahe@intel.com, john.griffin@intel.com, deepak.k.jain@intel.com, harry.van.haaren@intel.com, ajit.khaparde@broadcom.com, somnath.kotur@broadcom.com, xuanziyang2@huawei.com, cloud.wangxiaoyun@huawei.com, zhouguoyang@huawei.com, sthotton@marvell.com, srinivasan@marvell.com, heinrich.kuhn@corigine.com, hkalra@marvell.com, rmody@marvell.com, dsinghrawat@marvell.com, jiawenwu@trustnetic.com, yongwang@vmware.com, john.mcnamara@intel.com, shreyansh.jain@nxp.com, santosh.shukla@caviumnetworks.com, gakhil@marvell.com, roy.fan.zhang@intel.com, arkadiuszx.kusztal@intel.com, michael.baucom@broadcom.com, venkatkumar.duvvuru@broadcom.com, lance.richardson@broadcom.com, kishore.padmanabha@broadcom.com, jerin.jacob@caviumnetworks.com, derek.chickles@caviumnetworks.com, ssrinivasan@caviumnetworks.com, mjatharakonda@oneconvergence.com, simon.horman@corigine.com, david.george@sophos.com, sony.chacko@qlogic.com, harish.patil@qlogic.com, stephen@networkplumber.org, tomaszx.kulasek@intel.com, ian.betts@intel.com, liang.j.ma@intel.com, lei.a.yao@intel.com, Conor Walsh Subject: [PATCH 0/7] fix unused but set variables Date: Fri, 12 Nov 2021 14:01:04 +0000 Message-Id: <20211112140111.922171-1-conor.walsh@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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