]> git.baikalelectronics.ru Git - kernel.git/commit
ethtool: use phydev variable
authorTom Rix <trix@redhat.com>
Wed, 5 Jan 2022 14:10:20 +0000 (06:10 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Jan 2022 12:33:35 +0000 (12:33 +0000)
commite35dc8cb511859e790889ed0509dd2d58b116959
treea04f38f4f46a7066daa0d3eead777c90d77a183b
parent586590fd8f169fac01afaffce55873bf4738a7d7
ethtool: use phydev variable

In ethtool_get_phy_stats(), the phydev varaible is set to
dev->phydev but dev->phydev is still used.  Replace
dev->phydev uses with phydev.

Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ethtool/ioctl.c