phy: ti: fix semicolon.cocci warnings
diff mbox series

Message ID 20181209142003.GA14967@cairo
State Accepted
Commit 1a3a09270668d92755cc6efe8e0395bbb3de8629
Headers show
Series
  • phy: ti: fix semicolon.cocci warnings
Related show

Commit Message

Fengguang Wu Dec. 9, 2018, 2:20 p.m. UTC
From: kbuild test robot <fengguang.wu@intel.com>

drivers/phy/ti/phy-gmii-sel.c:91:2-3: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: 1811851f4e73 ("phy: ti: introduce phy-gmii-sel driver")
CC: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kishon/linux-phy.git next
head:   013231475e124abfb61099a42ec18dc2eaadc393
commit: 1811851f4e736e73f274238f0558d179514bcdc0 [16/25] phy: ti: introduce phy-gmii-sel driver

 phy-gmii-sel.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

--- a/drivers/phy/ti/phy-gmii-sel.c
+++ b/drivers/phy/ti/phy-gmii-sel.c
@@ -88,7 +88,7 @@  static int phy_gmii_sel_mode(struct phy
 			 "port%u: unsupported mode: \"%s\". Defaulting to MII.\n",
 			 if_phy->id, phy_modes(rgmii_id));
 		return -EINVAL;
-	};
+	}
 
 	if_phy->phy_if_mode = submode;