diff mbox series

net: dsa: mt7530: remove unneeded semicolon

Message ID 20201031153047.2147341-1-trix@redhat.com
State New
Headers show
Series net: dsa: mt7530: remove unneeded semicolon | expand

Commit Message

Tom Rix Oct. 31, 2020, 3:30 p.m. UTC
From: Tom Rix <trix@redhat.com>

A semicolon is not needed after a switch statement.

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

Comments

Jakub Kicinski Nov. 3, 2020, 1:53 a.m. UTC | #1
On Sat, 31 Oct 2020 08:30:47 -0700 trix@redhat.com wrote:
> From: Tom Rix <trix@redhat.com>

> 

> A semicolon is not needed after a switch statement.

> 

> Signed-off-by: Tom Rix <trix@redhat.com>


Applied.
diff mbox series

Patch

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);