[PATCH] net: dsa: mt7530: remove unneeded semicolon

trix at redhat.com trix at redhat.com
Sat Oct 31 11:30:47 EDT 2020


From: Tom Rix <trix at redhat.com>

A semicolon is not needed after a switch statement.

Signed-off-by: Tom Rix <trix at redhat.com>
---
 drivers/net/dsa/mt7530.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/dsa/mt7530.c b/drivers/net/dsa/mt7530.c
index de7692b763d8..771f58f50d61 100644
--- a/drivers/net/dsa/mt7530.c
+++ b/drivers/net/dsa/mt7530.c
@@ -558,7 +558,7 @@ mt7531_pad_setup(struct dsa_switch *ds, phy_interface_t interface)
 		val |= 0x190000 << RG_COREPLL_SDM_PCW_S;
 		mt7530_write(priv, MT7531_PLLGP_CR0, val);
 		break;
-	};
+	}
 
 	/* Set feedback divide ratio update signal to high */
 	val = mt7530_read(priv, MT7531_PLLGP_CR0);
-- 
2.18.1




More information about the Linux-mediatek mailing list