]> git.baikalelectronics.ru Git - kernel.git/commit
net: ocelot: Simplify MRP deletion
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Tue, 23 Mar 2021 08:33:47 +0000 (09:33 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Mar 2021 19:14:08 +0000 (12:14 -0700)
commite32ac941257777ad9835bbfd2be3fef27a9e0f63
tree5c547e0145e518519a4942573d89772888fa83e7
parent786d727784275f86e69bda79c256993148f9571b
net: ocelot: Simplify MRP deletion

Now that the driver will always be notified that the role is deleted
before the ring is deleted, then we don't need to duplicate the logic of
cleaning the resources also in the delete function.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mscc/ocelot_mrp.c