From: Joe Perches Date: Wed, 11 Jan 2017 22:52:20 +0000 (-0800) Subject: tilepro: Fix non-void return from void function X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b65b09aa79086f0f2aa8935eae410f87495b8c04;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git tilepro: Fix non-void return from void function commit bc1f44709cf2 ("net: make ndo_get_stats64 a void function") mistakenly used a return value for this void conversion. Fix it. Signed-off-by: Joe Perches cc: stephen hemminger Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/tile/tilepro.c b/drivers/net/ethernet/tile/tilepro.c index 30cfea62a356..44f153713791 100644 --- a/drivers/net/ethernet/tile/tilepro.c +++ b/drivers/net/ethernet/tile/tilepro.c @@ -2090,12 +2090,8 @@ static void tile_net_get_stats64(struct net_device *dev, stats->tx_bytes = tx_bytes; stats->rx_errors = rx_errors; stats->rx_dropped = rx_dropped; - - return stats; } - - /* * Change the Ethernet Address of the NIC. *