[PATCH v2 05/15] net/hns3: remove unnecessary black lines

Min Hu (Connor) humin29 at huawei.com
Sat Jan 22 02:51:32 CET 2022


From: Huisong Li <lihuisong at huawei.com>

Remove unnecessary black lines.

Signed-off-by: Huisong Li <lihuisong at huawei.com>
---
 drivers/net/hns3/hns3_ethdev.c | 1 -
 drivers/net/hns3/hns3_rxtx.h   | 2 --
 2 files changed, 3 deletions(-)

diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethdev.c
index 7e966b51d1..00949b8aa6 100644
--- a/drivers/net/hns3/hns3_ethdev.c
+++ b/drivers/net/hns3/hns3_ethdev.c
@@ -6301,7 +6301,6 @@ hns3_fec_set(struct rte_eth_dev *dev, uint32_t mode)
 	struct hns3_adapter *hns = dev->data->dev_private;
 	struct hns3_hw *hw = HNS3_DEV_PRIVATE_TO_HW(hns);
 	struct hns3_pf *pf = &hns->pf;
-
 	struct rte_eth_fec_capa fec_capa[FEC_CAPA_NUM];
 	uint32_t cur_capa;
 	uint32_t num = FEC_CAPA_NUM;
diff --git a/drivers/net/hns3/hns3_rxtx.h b/drivers/net/hns3/hns3_rxtx.h
index e202eb9c30..094b65b7de 100644
--- a/drivers/net/hns3/hns3_rxtx.h
+++ b/drivers/net/hns3/hns3_rxtx.h
@@ -344,7 +344,6 @@ struct hns3_rx_queue {
 
 	struct rte_mbuf fake_mbuf; /* fake mbuf used with vector rx */
 
-
 	/*
 	 * The following fields are not accessed in the I/O path, so they are
 	 * placed at the end.
@@ -518,7 +517,6 @@ struct hns3_tx_queue {
 	struct hns3_tx_basic_stats basic_stats;
 	struct hns3_tx_dfx_stats dfx_stats;
 
-
 	/*
 	 * The following fields are not accessed in the I/O path, so they are
 	 * placed at the end.
-- 
2.33.0



More information about the dev mailing list