projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72d13c1
)
tilepro: Fix non-void return from void function
author
Joe Perches
<joe@perches.com>
Wed, 11 Jan 2017 22:52:20 +0000
(14:52 -0800)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ethernet/tile/tilepro.c
b/drivers/net/ethernet/tile/tilepro.c
index 30cfea62a356485edab621deb0dfccd70ffa6562..44f1537137912676e1149054bb1858a57e1740d1 100644
(file)
--- 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.
*