r8169: change type of member mac_version in rtl8169_private
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 25 May 2019 18:45:04 +0000 (20:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 May 2019 05:19:39 +0000 (22:19 -0700)
commit76719ee25db93caa9b8b37f0b9838bfd3e24d817
treee5cae35472a9f2825d589f8d29173b2e66c5530d
parent7160be2de59a9c45ffb18e62974289a0a7ab5232
r8169: change type of member mac_version in rtl8169_private

Use the appropriate enum type for member mac_version. And don't assign
a fixed value to RTL_GIGA_MAC_NONE, there's no benefit in it.

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