[PATCH] phy: fix semicolon.cocci warnings
From: kbuild test robot
Date: Fri Jun 17 2016 - 14:20:30 EST
drivers/phy/phy-brcm-sata.c:151:2-3: Unneeded semicolon
drivers/phy/phy-brcm-sata.c:134:2-3: Unneeded semicolon
drivers/phy/phy-brcm-sata.c:289:2-3: Unneeded semicolon
Remove unneeded semicolon.
Generated by: scripts/coccinelle/misc/semicolon.cocci
CC: Anup Patel <anup.patel@xxxxxxxxxxxx>
Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---
phy-brcm-sata.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- a/drivers/phy/phy-brcm-sata.c
+++ b/drivers/phy/phy-brcm-sata.c
@@ -131,7 +131,7 @@ static inline void __iomem *brcm_sata_pc
default:
dev_err(priv->dev, "invalid phy version\n");
break;
- };
+ }
return priv->phy_base + (port->portnum * size);
}
@@ -148,7 +148,7 @@ static inline void __iomem *brcm_sata_ct
default:
dev_err(priv->dev, "invalid phy version\n");
break;
- };
+ }
return priv->ctrl_base + (port->portnum * size);
}
@@ -286,7 +286,7 @@ static int brcm_sata_phy_init(struct phy
break;
default:
rc = -ENODEV;
- };
+ }
return 0;
}