Commit 5c0f9cc7 authored by Hideaki Yoshifuji's avatar Hideaki Yoshifuji

[IPV6]: Make procfs destructors return void.

parent b1314aa8
......@@ -75,22 +75,16 @@ MODULE_LICENSE("GPL");
#ifdef CONFIG_PROC_FS
extern int raw6_proc_init(void);
extern int raw6_proc_exit(void);
extern void raw6_proc_exit(void);
extern int tcp6_proc_init(void);
extern void tcp6_proc_exit(void);
extern int udp6_proc_init(void);
extern void udp6_proc_exit(void);
extern int ipv6_misc_proc_init(void);
extern int ipv6_misc_proc_exit(void);
extern void ipv6_misc_proc_exit(void);
extern int anycast6_get_info(char *, char **, off_t, int);
extern int if6_proc_init(void);
extern void if6_proc_exit(void);
#endif
#ifdef CONFIG_SYSCTL
......
......@@ -299,11 +299,10 @@ int __init ipv6_misc_proc_init(void)
goto out;
}
int ipv6_misc_proc_exit(void)
void ipv6_misc_proc_exit(void)
{
proc_net_remove("sockstat6");
proc_net_remove("dev_snmp6");
proc_net_remove("snmp6");
return 0;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment