summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2017-01-11 23:52:20 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-12 21:14:09 +0100
commitb65b09aa79086f0f2aa8935eae410f87495b8c04 (patch)
tree8d51d3effca6cc848e8e2dbbd133defa3ec01fa8 /drivers/net
parentMerge branch 'mdio-gpio-next' (diff)
downloadlinux-b65b09aa79086f0f2aa8935eae410f87495b8c04.tar.xz
linux-b65b09aa79086f0f2aa8935eae410f87495b8c04.zip
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>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/tile/tilepro.c4
1 files changed, 0 insertions, 4 deletions
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.
*