[IPV6]: Fix hardcoded removing of old module code
Rusty hardcoded the old module code. We can remove it now. Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
05705e4e11
commit
5ee46e562c
@@ -752,14 +752,6 @@ static int __init inet6_init(void)
|
|||||||
|
|
||||||
BUILD_BUG_ON(sizeof(struct inet6_skb_parm) > sizeof(dummy_skb->cb));
|
BUILD_BUG_ON(sizeof(struct inet6_skb_parm) > sizeof(dummy_skb->cb));
|
||||||
|
|
||||||
#ifdef MODULE
|
|
||||||
#if 0 /* FIXME --RR */
|
|
||||||
if (!mod_member_present(&__this_module, can_unload))
|
|
||||||
return -EINVAL;
|
|
||||||
|
|
||||||
__this_module.can_unload = &ipv6_unload;
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
err = proto_register(&tcpv6_prot, 1);
|
err = proto_register(&tcpv6_prot, 1);
|
||||||
if (err)
|
if (err)
|
||||||
goto out;
|
goto out;
|
||||||
|
Reference in New Issue
Block a user