[PATCH v4 net-next 5/5] net: phy: Remove PHY_RST_AFTER_CLK_EN flag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Remove unused PHY_RST_AFTER_CLK_EN flag.

Signed-off-by: Laurent Badel <laurentbadel@xxxxxxxxx>
---
 drivers/net/phy/smsc.c | 2 +-
 include/linux/phy.h    | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/net/phy/smsc.c b/drivers/net/phy/smsc.c
index 5ee45c48efbb..17a48f58e71c 100644
--- a/drivers/net/phy/smsc.c
+++ b/drivers/net/phy/smsc.c
@@ -460,7 +460,7 @@ static struct phy_driver smsc_phy_driver[] = {
 	.name		= "SMSC LAN8740",
 
 	/* PHY_BASIC_FEATURES */
-	.flags		= PHY_RST_AFTER_CLK_EN & PHY_RST_AFTER_PROBE,
+	.flags		= PHY_RST_AFTER_PROBE,
 
 	.probe		= smsc_phy_probe,
 
diff --git a/include/linux/phy.h b/include/linux/phy.h
index 3f84bbd307fa..6e5525acc49c 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -78,10 +78,9 @@ extern const int phy_10gbit_features_array[1];
 #define PHY_IGNORE_INTERRUPT	-2
 
 #define PHY_IS_INTERNAL		0x00000001
-#define PHY_RST_AFTER_CLK_EN	0x00000002
+#define PHY_RST_AFTER_PROBE	0x00000002
 #define PHY_POLL_CABLE_TEST	0x00000004
 #define MDIO_DEVICE_IS_PHY	0x80000000
-#define PHY_RST_AFTER_PROBE	0x00000008
 
 /**
  * enum phy_interface_t - Interface Mode definitions
-- 
2.17.1



-----------------------------
Eaton Industries Manufacturing GmbH ~ Registered place of business: Route de la Longeraie 7, 1110, Morges, Switzerland 

-----------------------------





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux