Signed-off-by: speech_white <humin29@huawei.com> (cherry picked from commit cde27f08d4dbefb7f03bfca6229f95cb88bf08a2)
50 lines
1.6 KiB
Diff
50 lines
1.6 KiB
Diff
From fbbcf80a9dc6d2f2d553b1c0b8762b5a35f4afc0 Mon Sep 17 00:00:00 2001
|
|
From: Huisong Li <lihuisong@huawei.com>
|
|
Date: Sat, 22 Jan 2022 09:51:32 +0800
|
|
Subject: [PATCH] net/hns3: remove unnecessary blank lines
|
|
|
|
Remove unnecessary blank lines.
|
|
|
|
Signed-off-by: Huisong Li <lihuisong@huawei.com>
|
|
Acked-by: Min Hu (Connor) <humin29@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 f92832a4aa..0f6d238f6f 100644
|
|
--- a/drivers/net/hns3/hns3_ethdev.c
|
|
+++ b/drivers/net/hns3/hns3_ethdev.c
|
|
@@ -6295,7 +6295,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
|
|
|