phy: lantiq: vrx200-pcie: Remove unneeded semicolon
PATCH 1/1 phy: lantiq: vrx200-pcie: Remove unneeded semicolon
Fixes coccicheck warning:
drivers/phy/lantiq/phy-lantiq-vrx200-pcie.c:389:2-3: Unneeded semicolon
Fixes e52a632195bf ("phy: lantiq: vrx200-pcie: add a driver for the Lantiq VRX200 PCIe PHY")
Reported-by Hulk Robot <[email protected]>
Signed-off-by Ma Feng <[email protected]>
--- drivers/phy/lantiq/phy-lantiq-vrx200-pcie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/lantiq/phy-lantiq-vrx200-pcie.c +1 -1
@@ -386,7 +386,7 @@ static struct phy *ltq_vrx200_pcie_phy_xlate(struct device *dev,default :dev_err (dev,"invalid PHY mode %u\n" , mode);return ERR_PTR (-EINVAL ); - }; + }return priv->phy; }
--
2.6.2
Quoted 9 lines · Ma Feng
Fixes coccicheck warning:
drivers/phy/lantiq/phy-lantiq-vrx200-pcie.c:389:2-3: Unneeded semicolon
Fixes e52a632195bf ("phy: lantiq: vrx200-pcie: add a driver for the Lantiq VRX200 PCIe PHY")Reported-by Hulk Robot <[email protected]>Signed-off-by Ma Feng <[email protected]>
thank you for taking care of this
Martin