netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [IPV6]: Fix hardcoded removing of old module code
@ 2008-02-13  9:37 Wang Chen
  2008-02-18  6:35 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Wang Chen @ 2008-02-13  9:37 UTC (permalink / raw)
  To: David S. Miller; +Cc: yoshfuji, Herbert Xu, Rusty Russell, netdev

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

Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
---
 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 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;
-- WCN


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] [IPV6]: Fix hardcoded removing of old module code
  2008-02-13  9:37 [PATCH] [IPV6]: Fix hardcoded removing of old module code Wang Chen
@ 2008-02-18  6:35 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-02-18  6:35 UTC (permalink / raw)
  To: wangchen; +Cc: yoshfuji, herbert, rusty, netdev

From: Wang Chen <wangchen@cn.fujitsu.com>
Date: Wed, 13 Feb 2008 17:37:47 +0800

> Rusty hardcoded the old module code.
> We can remove it now.
> 
> Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>

Applied, thanks for removing this turd.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-18  6:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-13  9:37 [PATCH] [IPV6]: Fix hardcoded removing of old module code Wang Chen
2008-02-18  6:35 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).