r8169: simplify getting stats by using netdev_stats_to_stats64
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 10 Mar 2020 22:15:00 +0000 (23:15 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Mar 2020 23:23:44 +0000 (16:23 -0700)
commit314a9cbbfb1de1e3fe7a14e906efcfd983ab85bf
tree5d956552dad2ca22551967aa0e7d6a279e350614
parent047521d7b12d7a6b7165de2c67c71275f223c0a6
r8169: simplify getting stats by using netdev_stats_to_stats64

Let netdev_stats_to_stats64() do the copy work for us.

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