r8169: remove mii_if_info member from struct rtl8169_private
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 17 Jul 2018 20:52:09 +0000 (22:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2018 00:46:32 +0000 (09:46 +0900)
commitf7ffa9ae2bb90fd948b514e2049ef3a904e66743
treedadfc6751c19d9eb36bc329384666f5a11f37ddb
parenta2965f12fde696d3754347bd48a7149b8de45b21
r8169: remove mii_if_info member from struct rtl8169_private

The only remaining usage of the struct mii_if_info member is to store the
information whether the chip is GMII-capable. So we can replace it with
a simple flag.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c