* [PATCH] Fix return type for snmp6_free_dev()
@ 2007-10-17 10:29 Pavel Emelyanov
2007-10-18 4:23 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Pavel Emelyanov @ 2007-10-17 10:29 UTC (permalink / raw)
To: David Miller; +Cc: Linux Netdev List, devel
This call is essentially void.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
---
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index 52d10d2..edf06ca 100644
--- 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. */
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix return type for snmp6_free_dev()
2007-10-17 10:29 [PATCH] Fix return type for snmp6_free_dev() Pavel Emelyanov
@ 2007-10-18 4:23 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2007-10-18 4:23 UTC (permalink / raw)
To: xemul; +Cc: netdev, devel
From: Pavel Emelyanov <xemul@openvz.org>
Date: Wed, 17 Oct 2007 14:29:11 +0400
> This call is essentially void.
>
> Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-18 4:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-17 10:29 [PATCH] Fix return type for snmp6_free_dev() Pavel Emelyanov
2007-10-18 4:23 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).