]> git.baikalelectronics.ru Git - kernel.git/commit
net: sparx5: remove guards against !BRIDGE_VLAN_INFO_BRENTRY
authorVladimir Oltean <vladimir.oltean@nxp.com>
Wed, 16 Feb 2022 16:47:50 +0000 (18:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Feb 2022 14:17:09 +0000 (14:17 +0000)
commitcf329255a0b4f88af6a3e35c7d7337c0714f565e
tree1b295afc445710b216b01bfff6033adf51e09c41
parent438da2d23e9d5949ac86eb7a33b06f1f60569766
net: sparx5: remove guards against !BRIDGE_VLAN_INFO_BRENTRY

Since commit 7f58139dda69 ("net: bridge: vlan: don't notify to switchdev
master VLANs without BRENTRY flag"), the bridge no longer emits
switchdev notifiers for VLANs that don't have the
BRIDGE_VLAN_INFO_BRENTRY flag, so these checks are dead code.
Remove them.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/sparx5/sparx5_switchdev.c