igbvf: Use net_device_stats from struct net_device
authorTobias Klauser <tklauser@distanz.ch>
Thu, 6 Apr 2017 06:45:22 +0000 (08:45 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 20 Apr 2017 23:32:45 +0000 (16:32 -0700)
commit55c05dd0295d8334a987c82cc57abe60a5d49f37
tree46d999f8bbca91f7ad4f2d43834048b795c26c1a
parentb90fa8763560aab7c75697fb324ffc73fb813ecc
igbvf: Use net_device_stats from struct net_device

Instead of using a private copy of struct net_device_stats in
struct igbvf_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: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igbvf/igbvf.h
drivers/net/ethernet/intel/igbvf/netdev.c