]> 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)
commit63abfd30d0eee208e9e600b29ba998da7b1a6915
tree2461a7b8859cf2b7a596a2a997e93c274484dfdd
parentddd8df8bc880c5af5efebc21b8adfd7d1aec7d32
mlxsw: spectrum_switchdev: Remove unused variables

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