aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/et1011c.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2018-09-13 11:36:30 -0700
committerDavid S. Miller <davem@davemloft.net>2018-09-16 15:31:01 -0700
commit21e65923abaa8f64e1f12491b2c5a8c208f9cfe3 (patch)
tree7323685366b13413ca68be36382db81a42d5bc31 /drivers/net/phy/et1011c.c
parentMerge branch 'act_police-lockless-data-path' (diff)
downloadlinux-dev-21e65923abaa8f64e1f12491b2c5a8c208f9cfe3.tar.xz
linux-dev-21e65923abaa8f64e1f12491b2c5a8c208f9cfe3.zip
net: phy: et011c: Remove incorrect PHY_POLL flags
PHY_POLL is defined as -1 which means that we would be setting all flags of the PHY driver, this is also not a valid flag to tell PHYLIB about, just remove it. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/et1011c.c')
-rw-r--r--drivers/net/phy/et1011c.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/phy/et1011c.c b/drivers/net/phy/et1011c.c
index ab541c9c56fb..565e49e7f76f 100644
--- a/drivers/net/phy/et1011c.c
+++ b/drivers/net/phy/et1011c.c
@@ -92,7 +92,6 @@ static struct phy_driver et1011c_driver[] = { {
.name = "ET1011C",
.phy_id_mask = 0xfffffff0,
.features = PHY_GBIT_FEATURES,
- .flags = PHY_POLL,
.config_aneg = et1011c_config_aneg,
.read_status = et1011c_read_status,
} };