Browse Source

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 <joe@perches.com>
cc: stephen hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Joe Perches 8 years ago
parent
commit
b65b09aa79
1 changed files with 0 additions and 4 deletions
  1. 0 4
      drivers/net/ethernet/tile/tilepro.c

+ 0 - 4
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.
  *