r8169: simplify detecting chip versions with same XID
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 22 Nov 2018 21:00:10 +0000 (22:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 24 Nov 2018 01:32:28 +0000 (17:32 -0800)
commit45f1996f4fd8f289e345c7a4157741100febb47d
tree0300f037c2d0f43320c51f946395036ea890b6ae
parentb4cc2dcc9c7c9cea293d1fa6a7b91876c8f23bdf
r8169: simplify detecting chip versions with same XID

For the GMII chip versions we set the version number which was set
already. This can be simplified.

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