From: Wang Chen Date: Mon, 18 Feb 2008 06:34:53 +0000 (-0800) Subject: [IPV6]: Fix hardcoded removing of old module code X-Git-Tag: v2.6.25-rc3~9^2~50 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5ee46e562c9c10a5e25920c4406a42061cf27839;p=platform%2Fkernel%2Flinux-3.10.git [IPV6]: Fix hardcoded removing of old module code Rusty hardcoded the old module code. We can remove it now. Signed-off-by: Wang Chen Signed-off-by: David S. Miller --- diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c index bddac0e..f0aa977 100644 --- a/net/ipv6/af_inet6.c +++ b/net/ipv6/af_inet6.c @@ -752,14 +752,6 @@ static int __init inet6_init(void) 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); if (err) goto out;