projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05705e4
)
[IPV6]: Fix hardcoded removing of old module code
author
Wang Chen
<wangchen@cn.fujitsu.com>
Mon, 18 Feb 2008 06:34:53 +0000
(22:34 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 18 Feb 2008 06:34:53 +0000
(22:34 -0800)
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>
net/ipv6/af_inet6.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv6/af_inet6.c
b/net/ipv6/af_inet6.c
index bddac0e8780f948f75b8de3d4fdb25e280080a2b..f0aa977387462dc05f6a5e2ca12afe2b51283bc3 100644
(file)
--- 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;