net: hip04: Omit private ndo_get_stats function
authorTobias Klauser <tklauser@distanz.ch>
Tue, 14 Feb 2017 14:10:06 +0000 (15:10 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Feb 2017 20:03:21 +0000 (15:03 -0500)
commita06d4d672f76ef01d1fac38e2cefc22b7aaa7476
treef82b41069c60a24e85f87ef9e2403d532f262572
parent6f2e3f7d9785dacb358b48b44950182b5c13e4bc
net: hip04: Omit private ndo_get_stats function

hip04_get_stats() just returns dev->stats so we can leave it
out altogether and let dev_get_stats() do the job.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hip04_eth.c