[1/2] net/iavf: fix build error

Message ID 20211029111423.2924947-1-radu.nicolau@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Qi Zhang
Headers
Series [1/2] net/iavf: fix build error |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/iol-testing warning apply patch failure

Commit Message

Radu Nicolau Oct. 29, 2021, 11:14 a.m. UTC
  Fix clang build error, remove unused function
Fixes: f12d8bf150f5 ("net/iavf: rework Tx path")

Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
---
 drivers/net/iavf/iavf_rxtx.c | 7 -------
 1 file changed, 7 deletions(-)
  

Comments

Ferruh Yigit Oct. 29, 2021, 1:19 p.m. UTC | #1
On 10/29/2021 12:14 PM, Radu Nicolau wrote:
> Fix clang build error, remove unused function
> Fixes: f12d8bf150f5 ("net/iavf: rework Tx path")
> 
> Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>

Squashed into relevant commit in next-net, thanks.
net/iavf: rework Tx path
  

Patch

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,