21/04/2021 04:39, Min Hu (Connor): > From: Chengwen Feng <[email protected]> > > The new_mtu was assigned twice, the first assignment could be removed. > > Fixes: bda68ab9d1e7 ("examples/ethtool: add user-space ethtool sample > application") > Cc: [email protected] > > Signed-off-by: Chengwen Feng <[email protected]> > Signed-off-by: Min Hu (Connor) <[email protected]> > --- > - new_mtu = atoi(params->opt); > new_mtu = strtoul(params->opt, &ptr_parse_end, 10);
Indeed, it looks useless. Applied, thanks.

