On Sat, 20 Dec 2025 14:15:19 +0800
Junlong Wang <[email protected]> wrote:

> diff --git a/drivers/net/zxdh/zxdh_ethdev_ops.c 
> b/drivers/net/zxdh/zxdh_ethdev_ops.c
> index cabf81107e..8fb315eeac 100644
> --- a/drivers/net/zxdh/zxdh_ethdev_ops.c
> +++ b/drivers/net/zxdh/zxdh_ethdev_ops.c
> @@ -307,7 +307,7 @@ zxdh_link_info_get(struct rte_eth_dev *dev, struct 
> rte_eth_link *link)
>               }
>  
>               link->link_speed = ZXDH_GET(link_info_msg, link_msg_addr, 
> speed);
> -             link->link_autoneg = ZXDH_GET(link_info_msg, link_msg_addr, 
> autoneg);
> +             // link->link_autoneg = ZXDH_GET(link_info_msg, link_msg_addr, 
> autoneg);

Do not use C++ style comments.
Do not comment out code, remove it.

Reply via email to