i40evf: Use net_device_stats from struct net_device
authorTobias Klauser <tklauser@distanz.ch>
Thu, 6 Apr 2017 06:46:28 +0000 (08:46 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 19 Apr 2017 23:31:34 +0000 (16:31 -0700)
commit4a0a3abfd951943f770f5306d32f8640f55568c4
tree29013b097fc64620019a3591ed3abc8846629de8
parent9868879f293c599ce13b584c5bd8800312970781
i40evf: Use net_device_stats from struct net_device

Instead of using a private copy of struct net_device_stats in
struct i40evf_adapter, use stats from struct net_device. Also remove the
now unnecessary .ndo_get_stats function.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf.h
drivers/net/ethernet/intel/i40evf/i40evf_main.c
drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c