]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteb21a1b88b885baee3c74fd8b30a54082c0f9624
tree0aed11d4137970d10fc37910a43f547a43893f8e
parentc5271a3d8bf6ec17ec965a9648449b3efe31b9f0
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