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:
47e958e
)
[IPV6]: Fix return type for snmp6_free_dev()
author
Pavel Emelyanov
<xemul@openvz.org>
Thu, 18 Oct 2007 04:23:43 +0000
(21:23 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 18 Oct 2007 04:23:43 +0000
(21:23 -0700)
This call is essentially void.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv6/addrconf.c
b/net/ipv6/addrconf.c
index 52d10d213217c0bb8c7be5bbda65d9e31ad45e3d..edf06ca347496f1d53deb473b6768a5d3a47eca7 100644
(file)
--- a/
net/ipv6/addrconf.c
+++ b/
net/ipv6/addrconf.c
@@
-283,12
+283,11
@@
err_ip:
return err;
}
-static
int
snmp6_free_dev(struct inet6_dev *idev)
+static
void
snmp6_free_dev(struct inet6_dev *idev)
{
snmp_mib_free((void **)idev->stats.icmpv6msg);
snmp_mib_free((void **)idev->stats.icmpv6);
snmp_mib_free((void **)idev->stats.ipv6);
- return 0;
}
/* Nobody refers to this device, we may destroy it. */