Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16910b98 authored by Pavel Emelyanov's avatar Pavel Emelyanov Committed by David S. Miller
Browse files

[IPV6]: Fix return type for snmp6_free_dev()



This call is essentially void.

Signed-off-by: default avatarPavel Emelyanov <xemul@openvz.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 47e958ea
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -283,12 +283,11 @@ static int snmp6_alloc_dev(struct inet6_dev *idev)
	return err;
	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.icmpv6msg);
	snmp_mib_free((void **)idev->stats.icmpv6);
	snmp_mib_free((void **)idev->stats.icmpv6);
	snmp_mib_free((void **)idev->stats.ipv6);
	snmp_mib_free((void **)idev->stats.ipv6);
	return 0;
}
}


/* Nobody refers to this device, we may destroy it. */
/* Nobody refers to this device, we may destroy it. */