brcmfmac: Use net_device_stats from struct net_device
authorTobias Klauser <tklauser@distanz.ch>
Mon, 13 Feb 2017 10:14:09 +0000 (11:14 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 15 Feb 2017 09:15:16 +0000 (11:15 +0200)
commit91b632803ee4e47c5a5c4dc3d8bf5abf9c16107a
tree25a3e03464535245b1e4ae748de1e22cfd4e9654
parentb686784d03e66f8515198de4850d1e372b729880
brcmfmac: Use net_device_stats from struct net_device

Instead of using a private copy of struct net_device_stats in struct
brcm_if, use stats from struct net_device.  Also remove the now
unnecessary .ndo_get_stats function.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h