Skip to content

Commit

Permalink
net: phy: et011c: Remove incorrect PHY_POLL flags
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Florian Fainelli authored and David S. Miller committed Sep 16, 2018
1 parent 50676de commit 21e6592
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/phy/et1011c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
} };
Expand Down

0 comments on commit 21e6592

Please sign in to comment.