]> git.baikalelectronics.ru Git - kernel.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)
commit9e9587fe1a9e2ab29d9e66ecfbe0f55585c02759
treec7f0f1fba0626f1e02d26499c7302ddebe3e9802
parent3d2ad7bfd8e9411958088b0d71286ee07b3e2f99
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