[PATCH v2 04/15] net/hns3: remove unnecessary 'inline'

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


From: Jie Hai <haijie1 at huawei.com>

This function is a control-plane interface and does
not need to use inline.

Signed-off-by: Jie Hai <haijie1 at huawei.com>
---
 drivers/net/hns3/hns3_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethdev.c
index 56beb8972a..7e966b51d1 100644
--- a/drivers/net/hns3/hns3_ethdev.c
+++ b/drivers/net/hns3/hns3_ethdev.c
@@ -4859,7 +4859,7 @@ hns3_check_port_speed(struct hns3_hw *hw, uint32_t link_speeds)
 	return 0;
 }
 
-static inline uint32_t
+static uint32_t
 hns3_get_link_speed(uint32_t link_speeds)
 {
 	uint32_t speed = RTE_ETH_SPEED_NUM_NONE;
-- 
2.33.0



More information about the dev mailing list