[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>
This commit is contained in:
Pavel Emelyanov 2007-10-17 21:23:43 -07:00 коммит произвёл David S. Miller
Родитель 47e958eac2
Коммит 16910b9829
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -283,12 +283,11 @@ err_ip:
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. */