From: Huisong Li Date: Sat, 22 Jan 2022 01:51:32 +0000 (+0800) Subject: net/hns3: remove unnecessary blank lines X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=fbbcf80a9dc6d2f2d553b1c0b8762b5a35f4afc0;p=dpdk.git net/hns3: remove unnecessary blank lines Remove unnecessary blank lines. Signed-off-by: Huisong Li Acked-by: Min Hu (Connor) --- 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.