]> git.itanic.dy.fi Git - linux-stable/commit
net: ngbe: Drop mdiobus_c45_regad()
authorMichael Walle <michael@walle.cc>
Thu, 19 Jan 2023 13:06:58 +0000 (14:06 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 21 Jan 2023 02:12:45 +0000 (18:12 -0800)
commit45d564bf3625d230fb03bbf354a5065f90bc86fe
tree5b3232d66393c49df392d80d97506cc0c88b26a0
parentdb1a63aed89cec0c9a0674a1a09b7614f4a3ffc2
net: ngbe: Drop mdiobus_c45_regad()

With the new C45 MDIO access API, there is no encoding of the register
number anymore and thus the masking isn't necessary anymore. Remove it.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/wangxun/ngbe/ngbe_mdio.c