2021-02-03 03:06:40

by Yang Li

[permalink] [raw]
Subject: [PATCH] phy: phy-brcm-sata: remove unneeded semicolon

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

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
---
drivers/phy/broadcom/phy-brcm-sata.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/phy/broadcom/phy-brcm-sata.c b/drivers/phy/broadcom/phy-brcm-sata.c
index 3ecf413..769c707 100644
--- a/drivers/phy/broadcom/phy-brcm-sata.c
+++ b/drivers/phy/broadcom/phy-brcm-sata.c
@@ -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 */
--
1.8.3.1


2021-02-04 08:12:37

by Vinod Koul

[permalink] [raw]
Subject: Re: [PATCH] phy: phy-brcm-sata: remove unneeded semicolon

On 03-02-21, 10:58, Yang Li wrote:
> Eliminate the following coccicheck warning:
> ./drivers/phy/broadcom/phy-brcm-sata.c:654:2-3: Unneeded semicolon

Applied, thanks

--
~Vinod