linux_dsm_epyc7002/net/ethtool
YueHaibing 4a883ccfba ethtool: remove set but not used variable 'lsettings'
Fixes gcc '-Wunused-but-set-variable' warning:

net/ethtool/linkmodes.c: In function 'ethnl_set_linkmodes':
net/ethtool/linkmodes.c:326:32: warning:
 variable 'lsettings' set but not used [-Wunused-but-set-variable]
  struct ethtool_link_settings *lsettings;
                                ^
It is never used, so remove it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Michal Kubecek <mkubecek@suse.cz>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-01-03 12:22:12 -08:00
..
bitset.c ethtool: netlink bitset handling 2019-12-27 16:40:01 -08:00
bitset.h ethtool: netlink bitset handling 2019-12-27 16:40:01 -08:00
common.c ethtool: provide link state with LINKSTATE_GET request 2019-12-27 16:40:02 -08:00
common.h ethtool: provide link state with LINKSTATE_GET request 2019-12-27 16:40:02 -08:00
ioctl.c ethtool: provide link state with LINKSTATE_GET request 2019-12-27 16:40:02 -08:00
linkinfo.c ethtool: add LINKINFO_NTF notification 2019-12-27 16:40:02 -08:00
linkmodes.c ethtool: remove set but not used variable 'lsettings' 2020-01-03 12:22:12 -08:00
linkstate.c ethtool: provide link state with LINKSTATE_GET request 2019-12-27 16:40:02 -08:00
Makefile ethtool: provide link state with LINKSTATE_GET request 2019-12-27 16:40:02 -08:00
netlink.c ethtool: provide link state with LINKSTATE_GET request 2019-12-27 16:40:02 -08:00
netlink.h ethtool: provide link state with LINKSTATE_GET request 2019-12-27 16:40:02 -08:00
strset.c ethtool: provide string sets with STRSET_GET request 2019-12-27 16:40:01 -08:00