From 68c66b0fa3a101841acf163baa2db6f884a4a24d Mon Sep 17 00:00:00 2001 From: Birger Koblitz Date: Thu, 10 Feb 2022 16:50:31 +0100 Subject: realtek: fix locking issues Fixe a coupld of locking issues found by applying lock debugging to the code. Signed-off-by: Birger Koblitz --- target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/dsa.c | 1 - 1 file changed, 1 deletion(-) (limited to 'target/linux/realtek/files-5.10/drivers/net/dsa') diff --git a/target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/dsa.c b/target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/dsa.c index 4e8bbc00db..4780632983 100644 --- a/target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/dsa.c +++ b/target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/dsa.c @@ -1409,7 +1409,6 @@ static int rtl83xx_vlan_prepare(struct dsa_switch *ds, int port, priv->r->vlan_set_tagged(1, &info); pr_debug("SET: Tagged ports, VLAN %d: %llx\n", 1, info.tagged_ports); - mutex_unlock(&priv->reg_mutex); return 0; } -- cgit v1.2.3