diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-02-25 03:03:28 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-26 18:07:35 +0100 |
commit | bae1320f7afdb08db96884f2caedc62db295ed4e (patch) | |
tree | 0e0ed7c70963a43aa453ade98495107a9c24bde5 /net/sched/sch_pie.c | |
parent | Merge branch 'vxlan-create-and-changelink-extack-support' (diff) | |
download | linux-bae1320f7afdb08db96884f2caedc62db295ed4e.tar.xz linux-bae1320f7afdb08db96884f2caedc62db295ed4e.zip |
mlxsw: spectrum: remove set but not used variable 'autoneg_status'
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/net/ethernet/mellanox/mlxsw/spectrum.c: In function 'mlxsw_sp_port_get_link_ksettings':
drivers/net/ethernet/mellanox/mlxsw/spectrum.c:3062:5: warning:
variable 'autoneg_status' set but not used [-Wunused-but-set-variable]
It's not used since commit 475b33cb66c9 ("mlxsw: spectrum: Remove unsupported
eth_proto_lp_advertise field in PTYS")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_pie.c')
0 files changed, 0 insertions, 0 deletions