Fix return type for snmp6_free_dev()
Subsystems (3)
PATCH 1/1 Fix return type for snmp6_free_dev()
This call is essentially void.
Signed-off-by Pavel Emelyanov <[email protected]>
---
net/ipv6/addrconf.c +1 -2
@@ -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. */
From: Pavel Emelyanov <[email protected]>
Date: Wed, 17 Oct 2007 14:29:11 +0400
Quoted 3 lines
This call is essentially void.
Signed-off-by Pavel Emelyanov <[email protected]>
Applied.