Commit b65b09aa authored by Joe Perches's avatar Joe Perches Committed by David S. Miller
Browse files

tilepro: Fix non-void return from void function



commit bc1f4470 ("net: make ndo_get_stats64 a void function")
mistakenly used a return value for this void conversion.

Fix it.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
cc: stephen hemminger <stephen@networkplumber.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 72d13c15
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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.
 *