diff options
author | Andrew Lunn <andrew@lunn.ch> | 2017-05-26 02:03:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-26 22:00:45 +0300 |
commit | ba9b989dc77d9f0a0968ff6bc13ad762d3bf468e (patch) | |
tree | b9ed6df925ee29a94155d33c796c79f44d8f9be1 /drivers/net/dsa/mv88e6xxx/phy.c | |
parent | 6d91782f0f140ae515732a9543a0ae3f9f3140ce (diff) | |
download | linux-ba9b989dc77d9f0a0968ff6bc13ad762d3bf468e.tar.xz |
net: dsa: mv88e6xxx: Remove SERDES flag
Now that we use an op for SERDES operations, we don't need a flag for
it. Remove it.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx/phy.c')
-rw-r--r-- | drivers/net/dsa/mv88e6xxx/phy.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/phy.c b/drivers/net/dsa/mv88e6xxx/phy.c index 0e6c72b93c8f..0d3e8aaedf50 100644 --- a/drivers/net/dsa/mv88e6xxx/phy.c +++ b/drivers/net/dsa/mv88e6xxx/phy.c @@ -62,9 +62,6 @@ int mv88e6xxx_phy_write(struct mv88e6xxx_chip *chip, int phy, int reg, u16 val) static int mv88e6xxx_phy_page_get(struct mv88e6xxx_chip *chip, int phy, u8 page) { - if (!mv88e6xxx_has(chip, MV88E6XXX_FLAG_PHY_PAGE)) - return -EOPNOTSUPP; - return mv88e6xxx_phy_write(chip, phy, PHY_PAGE, page); } |