Message ID | 1576318644-38066-1-git-send-email-zhengbin13@huawei.com |
---|---|
State | Accepted |
Delegated to: | David Miller |
Headers | show |
Series | [net-next] net: phy: dp83869: Remove unneeded semicolon | expand |
On Sat, Dec 14, 2019 at 06:17:24PM +0800, zhengbin wrote: > Fixes coccicheck warning: > > drivers/net/phy/dp83869.c:337:2-3: Unneeded semicolon > > Reported-by: Hulk Robot <hulkci@huawei.com> > Signed-off-by: zhengbin <zhengbin13@huawei.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Andrew
On Sat, 14 Dec 2019 18:17:24 +0800, zhengbin wrote: > Fixes coccicheck warning: > > drivers/net/phy/dp83869.c:337:2-3: Unneeded semicolon > > Reported-by: Hulk Robot <hulkci@huawei.com> > Signed-off-by: zhengbin <zhengbin13@huawei.com> Applied, thanks!
diff --git a/drivers/net/phy/dp83869.c b/drivers/net/phy/dp83869.c index 9302190..7996a4a 100644 --- a/drivers/net/phy/dp83869.c +++ b/drivers/net/phy/dp83869.c @@ -334,7 +334,7 @@ static int dp83869_configure_mode(struct phy_device *phydev, break; default: return -EINVAL; - }; + } return ret; }
Fixes coccicheck warning: drivers/net/phy/dp83869.c:337:2-3: Unneeded semicolon Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: zhengbin <zhengbin13@huawei.com> --- drivers/net/phy/dp83869.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4