Skip to content

Commit

Permalink
[IPV6]: Fix hardcoded removing of old module code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wang Chen authored and David S. Miller committed Feb 18, 2008
1 parent 05705e4 commit 5ee46e5
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions net/ipv6/af_inet6.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5ee46e5

Please sign in to comment.