aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/udp_offload.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-01-03 03:48:56 +0000
committerDavid S. Miller <davem@davemloft.net>2020-01-03 12:22:12 -0800
commit4a883ccfba3adefc7123ec1a6da3c7301a56ce97 (patch)
treef86577476f7308c66f2ffa7a4f6f75361062e075 /net/ipv4/udp_offload.c
parenttcp: use REXMIT_NEW instead of magic number (diff)
downloadlinux-dev-4a883ccfba3adefc7123ec1a6da3c7301a56ce97.tar.xz
linux-dev-4a883ccfba3adefc7123ec1a6da3c7301a56ce97.zip
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions