Skip to contentSkip to conversation

phy: phy-brcm-sata: remove unneeded semicolon

PATCH Applied Yang Li 2 participants 2 messages Feb 3, 2021 – Feb 4, 2021 Generic PHY framework

lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 phy: phy-brcm-sata: remove unneeded semicolon

Eliminate the following coccicheck warning:
./drivers/phy/broadcom/phy-brcm-sata.c:654:2-3: Unneeded semicolon

---
 drivers/phy/broadcom/phy-brcm-sata.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/broadcom/phy-brcm-sata.c +1 -1
index 3ecf413..769c707 100644
@@ -651,7 +651,7 @@ static int brcm_dsl_sata_init(struct brcm_sata_port *port)
 			break;
 		msleep(20);
 		try--;
-	};
+	}
 
 	if (!try) {
 		/* PLL did not lock; give up */
Signature · 1 line
1.8.3.1
maintainer Applied
#1 lore raw
Quoted 2 lines · Yang Li

Eliminate the following coccicheck warning:
./drivers/phy/broadcom/phy-brcm-sata.c:654:2-3: Unneeded semicolon

Applied, thanks

Signature · 1 line
~Vinod