ixgb: Omit private ndo_get_stats function
authorTobias Klauser <tklauser@distanz.ch>
Wed, 15 Feb 2017 11:08:20 +0000 (12:08 +0100)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 20 Apr 2017 23:18:45 +0000 (16:18 -0700)
commit541c1662ba2076b5f28b32294c9718b56f27b645
tree0aed11d4137970d10fc37910a43f547a43893f8e
parent14cf2ddf089c897ed660f5b4fbfd00872f0fc619
ixgb: Omit private ndo_get_stats function

ixgb_get_stats() just returns dev->stats so we can leave it
out altogether and let dev_get_stats() do the job.

Suggested-by: Joe Perches <joe@perches.com>
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/ixgb/ixgb_main.c