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)
commit5b7c0c32c90494f5aaf13f417cff5dc204575597
tree5c547e0145e518519a4942573d89772888fa83e7
parentb3cb91b97c04e29feee8888ad08426d8904be63f
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