aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/teranetics.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2019-03-02 17:11:40 +0100
committerDavid S. Miller <davem@davemloft.net>2019-03-03 21:47:42 -0800
commitc5e91d39427d1759d6205599e145553b5b2bc19e (patch)
tree8406a8c55f1323d5e6ba606db6f3cb2a70c34ee1 /drivers/net/phy/teranetics.c
parentnet: phy: remove gen10g_suspend and gen10g_resume (diff)
downloadlinux-dev-c5e91d39427d1759d6205599e145553b5b2bc19e.tar.xz
linux-dev-c5e91d39427d1759d6205599e145553b5b2bc19e.zip
net: phy: remove gen10g_config_init
ETHTOOL_LINK_MODE_10000baseT_Full_BIT is set anyway in the supported and advertising bitmap because it's part of PHY_10GBIT_FEATURES. And all users of gen10g_config_init use PHY_10GBIT_FEATURES. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/phy/teranetics.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/phy/teranetics.c b/drivers/net/phy/teranetics.c
index 145c328b00fa..95280212d5d5 100644
--- a/drivers/net/phy/teranetics.c
+++ b/drivers/net/phy/teranetics.c
@@ -80,7 +80,6 @@ static struct phy_driver teranetics_driver[] = {
.features = PHY_10GBIT_FEATURES,
.soft_reset = gen10g_no_soft_reset,
.aneg_done = teranetics_aneg_done,
- .config_init = gen10g_config_init,
.config_aneg = gen10g_config_aneg,
.read_status = teranetics_read_status,
.match_phy_device = teranetics_match_phy_device,