Skip to contentSkip to conversation

: Fix hardcoded removing of old module code

PATCH Applied Wang Chen 2 participants 2 messages Feb 13, 2008 – Feb 18, 2008

Subsystems (2)
lore
Share & tools
lore

Wang Chen

author
#0 lore raw

PATCH 1/1 : Fix hardcoded removing of old module code

Rusty hardcoded the old module code.
We can remove it now.

---
 net/ipv6/af_inet6.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
net/ipv6/af_inet6.c +0 -8
index bddac0e..f0aa977 100644
@@ -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;

-- WCN