tilepro: Fix non-void return from void function
authorJoe Perches <joe@perches.com>
Wed, 11 Jan 2017 22:52:20 +0000 (14:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jan 2017 20:14:09 +0000 (15:14 -0500)
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 <joe@perches.com>
cc: stephen hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/tile/tilepro.c

index 30cfea62a356485edab621deb0dfccd70ffa6562..44f1537137912676e1149054bb1858a57e1740d1 100644 (file)
@@ -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.
  *