diff mbox series

net: stmmac: dwmac-meson8b: remove unneeded semicolon

Message ID 20201101140720.2280013-1-trix@redhat.com
State New
Headers show
Series net: stmmac: dwmac-meson8b: remove unneeded semicolon | expand

Commit Message

Tom Rix Nov. 1, 2020, 2:07 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/ethernet/stmicro/stmmac/dwmac-meson8b.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jakub Kicinski Nov. 3, 2020, 1:54 a.m. UTC | #1
On Sun,  1 Nov 2020 06:07:20 -0800 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/ethernet/stmicro/stmmac/dwmac-meson8b.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c
index 5afcf05bbf9c..dc0b8b6d180d 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c
@@ -299,7 +299,7 @@  static int meson8b_init_prg_eth(struct meson8b_dwmac *dwmac)
 		dev_err(dwmac->dev, "unsupported phy-mode %s\n",
 			phy_modes(dwmac->phy_mode));
 		return -EINVAL;
-	};
+	}
 
 	if (rx_dly_config & PRG_ETH0_ADJ_ENABLE) {
 		if (!dwmac->timing_adj_clk) {