]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tty: n_gsm: Use net_device_stats from struct net_device
authorTobias Klauser <tklauser@distanz.ch>
Mon, 13 Mar 2017 11:00:50 +0000 (12:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2017 05:14:00 +0000 (14:14 +0900)
commit47baf1ad81ed10c158c314ab9f304e674ae32531
treec7f0f1fba0626f1e02d26499c7302ddebe3e9802
parentd437fa9109bab8b83a9427d48bebff6c3e053010
tty: n_gsm: Use net_device_stats from struct net_device

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

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_gsm.c