From: Horatiu Vultur Date: Thu, 21 May 2020 23:19:06 +0000 (+0000) Subject: switchdev: mrp: Remove the variable mrp_ring_state X-Git-Tag: v5.8-rc1~165^2~131^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=89c1e111cb4860b51efef50474cd259c2702edc6;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Horatiu Vultur Signed-off-by: David S. Miller --- diff --git a/include/net/switchdev.h b/include/net/switchdev.h index ae7aeb0d1f9ca..db519957e134b 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; };