diff mbox

net: phy: Remove trailing semicolon in macro definition

Message ID d1f4d4f1-e60b-6b4d-6f98-3be70da859b5@sigmadesigns.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Marc Gonzalez July 25, 2017, 9:08 a.m. UTC
Commit e5a03bfd873c2 ("phy: Add an mdio_device structure")
introduced a spurious trailing semicolon. Remove it.

Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
---
 include/linux/phy.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

David Miller July 25, 2017, 7:33 p.m. UTC | #1
From: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Date: Tue, 25 Jul 2017 11:08:15 +0200

> Commit e5a03bfd873c2 ("phy: Add an mdio_device structure")
> introduced a spurious trailing semicolon. Remove it.
> 
> Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>

Good catch, applied, thanks.
diff mbox

Patch

diff --git a/include/linux/phy.h b/include/linux/phy.h
index 2a9567bb8186..0bb5b212ab42 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -830,7 +830,7 @@  static inline int phy_read_status(struct phy_device *phydev)
 	dev_err(&_phydev->mdio.dev, format, ##args)
 
 #define phydev_dbg(_phydev, format, args...)	\
-	dev_dbg(&_phydev->mdio.dev, format, ##args);
+	dev_dbg(&_phydev->mdio.dev, format, ##args)
 
 static inline const char *phydev_name(const struct phy_device *phydev)
 {