mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
switchdev: mrp: Remove the variable mrp_ring_state
Remove the variable mrp_ring_state from switchdev_attr because is not
used anywhere.
The ring state is set using SWITCHDEV_OBJ_ID_RING_STATE_MRP.
Fixes: c284b54590
("switchdev: mrp: Extend switchdev API to offload MRP")
Acked-by: Ivan Vecera <ivecera@redhat.com>
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7aa38018be
commit
89c1e111cb
1 changed files with 0 additions and 1 deletions
|
@ -62,7 +62,6 @@ struct switchdev_attr {
|
|||
#if IS_ENABLED(CONFIG_BRIDGE_MRP)
|
||||
u8 mrp_port_state; /* MRP_PORT_STATE */
|
||||
u8 mrp_port_role; /* MRP_PORT_ROLE */
|
||||
u8 mrp_ring_state; /* MRP_RING_STATE */
|
||||
#endif
|
||||
} u;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue