net: prestera: span: do not unbind things things that were never bound
authorMaksym Glubokiy <maksym.glubokiy@plvision.eu>
Thu, 6 Oct 2022 19:06:00 +0000 (22:06 +0300)
committerJakub Kicinski <kuba@kernel.org>
Tue, 11 Oct 2022 00:59:53 +0000 (17:59 -0700)
commit32391e646a71fc4cca4a74740bf401423d7a926d
tree9b8675e125e04e737da599fda09c2b8528a45590
parentaf7d23f9d96a3e9647cff8619a6860d73b109b5f
net: prestera: span: do not unbind things things that were never bound

Fixes: 13defa275eef ("net: marvell: prestera: Add matchall support")
Signed-off-by: Maksym Glubokiy <maksym.glubokiy@plvision.eu>
Link: https://lore.kernel.org/r/20221006190600.881740-1-maksym.glubokiy@plvision.eu
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/prestera/prestera_span.c