Skip to content

Commit ba3bcb3

Browse files
HoratiuVulturgregkh
authored andcommitted
switchdev: mrp: Remove SWITCHDEV_ATTR_ID_MRP_PORT_STAT
commit 059d2a1 upstream. Now that MRP started to use also SWITCHDEV_ATTR_ID_PORT_STP_STATE to notify HW, then SWITCHDEV_ATTR_ID_MRP_PORT_STAT is not used anywhere else, therefore we can remove it. Fixes: c284b54 ("switchdev: mrp: Extend switchdev API to offload MRP") Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 55ad30c commit ba3bcb3

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎include/net/switchdev.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ enum switchdev_attr_id {
4141
SWITCHDEV_ATTR_ID_BRIDGE_MC_DISABLED,
4242
SWITCHDEV_ATTR_ID_BRIDGE_MROUTER,
4343
#if IS_ENABLED(CONFIG_BRIDGE_MRP)
44-
SWITCHDEV_ATTR_ID_MRP_PORT_STATE,
4544
SWITCHDEV_ATTR_ID_MRP_PORT_ROLE,
4645
#endif
4746
};
@@ -60,7 +59,6 @@ struct switchdev_attr {
6059
bool vlan_filtering; /* BRIDGE_VLAN_FILTERING */
6160
bool mc_disabled; /* MC_DISABLED */
6261
#if IS_ENABLED(CONFIG_BRIDGE_MRP)
63-
u8 mrp_port_state; /* MRP_PORT_STATE */
6462
u8 mrp_port_role; /* MRP_PORT_ROLE */
6563
#endif
6664
} u;

0 commit comments

Comments
 (0)