]> git.baikalelectronics.ru Git - kernel.git/commit
switchdev: mrp: Remove the variable mrp_ring_state
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Thu, 21 May 2020 23:19:06 +0000 (23:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 May 2020 23:17:15 +0000 (16:17 -0700)
commitdcb60bab1c323ad861b48afb7cf46c4e9b9ba0c5
tree80c61982d0a7829f317461ac9cd97e25e89865d6
parent15c432291840dd945e697c629d90897002adbd34
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: 68e315ef59d0 ("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>
include/net/switchdev.h