From: Tobias Klauser Date: Tue, 8 Jul 2014 06:37:00 +0000 (+0200) Subject: staging: wlan-ng: Use net_device_stats from struct net_device X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~1129 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9630f6b97a5918c7a14803954ae2ff5ff3f9fb3c;p=pandora-kernel.git staging: wlan-ng: Use net_device_stats from struct net_device Instead of using an own copy of struct net_device_stats in struct wlandevice, use stats from struct net_device. Also remove the thus unnecessary .ndo_get_stats function, as it would now just return netdev->stats, which is the default in dev_get_stats(). Furthermore, convert prefix increment of stats counters to the more common postfix increment idiom. Signed-off-by: Tobias Klauser Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed