]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_switchdev: Remove unused variables
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 12 Feb 2019 23:39:58 +0000 (15:39 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Feb 2019 01:31:30 +0000 (17:31 -0800)
commit637140911f613c495245874336e8f9531de3e3ae
tree2461a7b8859cf2b7a596a2a997e93c274484dfdd
parent249d7b9f035a27c0ea59f507d6f72ddc3b88100d
mlxsw: spectrum_switchdev: Remove unused variables

After d18e28ba3725 ("mlxsw: spectrum_switchdev: Remove getting
PORT_BRIDGE_FLAGS") we are not accessing any driver private data
structure, so the mlxsw_sp_port and mlxsw_sp variables are unused.

Fixes: d18e28ba3725 ("mlxsw: spectrum_switchdev: Remove getting PORT_BRIDGE_FLAGS")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c