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

e1000_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/e1000/e1000_main.c