aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2007-10-17 21:23:43 -0700
committerDavid S. Miller <davem@davemloft.net>2007-10-17 21:23:43 -0700
commit16910b9829797cda4032fbc84e5292ac7b4474f7 (patch)
treeffd780277883169546b1b147614aeba45e3a2e12
parent47e958eac280c263397582d5581e868c3227a1bd (diff)
downloadkernel_samsung_smdk4412-16910b9829797cda4032fbc84e5292ac7b4474f7.zip
kernel_samsung_smdk4412-16910b9829797cda4032fbc84e5292ac7b4474f7.tar.gz
kernel_samsung_smdk4412-16910b9829797cda4032fbc84e5292ac7b4474f7.tar.bz2
[IPV6]: Fix return type for snmp6_free_dev()
This call is essentially void. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/ipv6/addrconf.c3
1 files changed, 1 insertions, 2 deletions
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. */