diff options
author | Horatiu Vultur <horatiu.vultur@microchip.com> | 2020-05-22 01:19:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-23 01:17:15 +0200 |
commit | 89c1e111cb4860b51efef50474cd259c2702edc6 (patch) | |
tree | 80c61982d0a7829f317461ac9cd97e25e89865d6 /include/net/switchdev.h | |
parent | bridge: mrp: Add br_mrp_unique_ifindex function (diff) | |
download | linux-89c1e111cb4860b51efef50474cd259c2702edc6.tar.xz linux-89c1e111cb4860b51efef50474cd259c2702edc6.zip |
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: c284b5459008 ("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>
Diffstat (limited to 'include/net/switchdev.h')
-rw-r--r-- | include/net/switchdev.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/switchdev.h b/include/net/switchdev.h index ae7aeb0d1f9c..db519957e134 100644 --- a/include/net/switchdev.h +++ b/include/net/switchdev.h @@ -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; }; |