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 810DFA0032; Fri, 29 Oct 2021 13:28:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6C85E41136; Fri, 29 Oct 2021 13:28:46 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 35F8B410E1 for ; Fri, 29 Oct 2021 13:28:45 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10151"; a="211416911" X-IronPort-AV: E=Sophos;i="5.87,192,1631602800"; d="scan'208";a="211416911" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Oct 2021 04:28:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,192,1631602800"; d="scan'208";a="530371535" Received: from silpixa00400884.ir.intel.com ([10.243.22.82]) by orsmga001.jf.intel.com with ESMTP; 29 Oct 2021 04:28:42 -0700 From: Radu Nicolau To: Jingjing Wu , Beilei Xing Cc: dev@dpdk.org, qi.z.zhang@intel.com, ferruh.yigit@intel.com, Radu Nicolau Date: Fri, 29 Oct 2021 12:14:22 +0100 Message-Id: <20211029111423.2924947-1-radu.nicolau@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 1/2] net/iavf: fix build error 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 Sender: "dev" Fix clang build error, remove unused function Fixes: f12d8bf150f5 ("net/iavf: rework Tx path") Signed-off-by: Radu Nicolau --- drivers/net/iavf/iavf_rxtx.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c index c782cacc6e..bef2891835 100644 --- a/drivers/net/iavf/iavf_rxtx.c +++ b/drivers/net/iavf/iavf_rxtx.c @@ -2396,13 +2396,6 @@ iavf_build_data_desc_cmd_offset_fields(volatile uint64_t *qw1, ((uint64_t)l2tag1 << IAVF_TXD_DATA_QW1_L2TAG1_SHIFT)); } -static inline void -iavf_fill_data_desc_buffer_sz_field(volatile uint64_t *field, uint16_t value) -{ - *field |= (((uint64_t)value << IAVF_TXD_DATA_QW1_TX_BUF_SZ_SHIFT) & - IAVF_TXD_DATA_QW1_TX_BUF_SZ_MASK); - } - static inline void iavf_fill_data_desc(volatile struct iavf_tx_desc *desc, struct rte_mbuf *m, uint64_t desc_template, -- 2.25.1