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)
commit0f56623dc48aaee2ead9d61098fc6c2a2d864c78
tree2461a7b8859cf2b7a596a2a997e93c274484dfdd
parentbd3606c29fccd0fe3d1061a61811cabf1abf7110
mlxsw: spectrum_switchdev: Remove unused variables

After 1ecb195753a1 ("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: 1ecb195753a1 ("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