diff options
author | Wang Chen <wangchen@cn.fujitsu.com> | 2008-02-18 01:34:53 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-18 01:34:53 -0500 |
commit | 5ee46e562c9c10a5e25920c4406a42061cf27839 (patch) | |
tree | 5fc49b932c6732e3e98a7abfcd02bc1f09c84dd9 /net | |
parent | 05705e4e1158ad2c1a22817f27d91ff0758fd0a9 (diff) |
[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>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv6/af_inet6.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c index bddac0e8780..f0aa9773874 100644 --- a/net/ipv6/af_inet6.c +++ b/net/ipv6/af_inet6.c | |||
@@ -752,14 +752,6 @@ static int __init inet6_init(void) | |||
752 | 752 | ||
753 | BUILD_BUG_ON(sizeof(struct inet6_skb_parm) > sizeof(dummy_skb->cb)); | 753 | BUILD_BUG_ON(sizeof(struct inet6_skb_parm) > sizeof(dummy_skb->cb)); |
754 | 754 | ||
755 | #ifdef MODULE | ||
756 | #if 0 /* FIXME --RR */ | ||
757 | if (!mod_member_present(&__this_module, can_unload)) | ||
758 | return -EINVAL; | ||
759 | |||
760 | __this_module.can_unload = &ipv6_unload; | ||
761 | #endif | ||
762 | #endif | ||
763 | err = proto_register(&tcpv6_prot, 1); | 755 | err = proto_register(&tcpv6_prot, 1); |
764 | if (err) | 756 | if (err) |
765 | goto out; | 757 | goto out; |