examples/ethtool: remove unused parsing
authorChengwen Feng <fengchengwen@huawei.com>
Wed, 21 Apr 2021 02:39:43 +0000 (10:39 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 21 Apr 2021 18:28:54 +0000 (20:28 +0200)
commit5be3505717269d6634a844bff3fc9339402b2690
tree496090c75954da4fe9a37be4f65327bec083ec31
parent10aa375704c148d9e90b5e984066d719f7465357
examples/ethtool: remove unused parsing

The new_mtu was assigned twice, the first assignment could be removed.

Fixes: bda68ab9d1e7 ("examples/ethtool: add user-space ethtool sample application")
Cc: stable@dpdk.org
Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
examples/ethtool/ethtool-app/ethapp.c