21/04/2021 04:39, Min Hu (Connor):
> From: Chengwen Feng <fengcheng...@huawei.com>
> 
> The new_mtu was assigned twice, the first assignment could be removed.
> 
> Fixes: bda68ab9d1e7 ("examples/ethtool: add user-space ethtool sample 
> application")
> Cc: sta...@dpdk.org
> 
> Signed-off-by: Chengwen Feng <fengcheng...@huawei.com>
> Signed-off-by: Min Hu (Connor) <humi...@huawei.com>
> ---
> -     new_mtu = atoi(params->opt);
>       new_mtu = strtoul(params->opt, &ptr_parse_end, 10);

Indeed, it looks useless.

Applied, thanks.


Reply via email to