mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-25 10:59:05 +00:00
tilepro: Fix non-void return from void function
commit bc1f44709c
("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>
This commit is contained in:
parent
72d13c15fc
commit
b65b09aa79
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user