From 12e948781da65c3516b339235a1eadf18e97d6fe Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Sun, 30 Mar 2003 13:22:10 -0800 Subject: [PATCH] [IPV6]: Fix warning with modular ipv6. --- net/ipv6/af_inet6.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c index 8e2b3a009d6fb..770170430640a 100644 --- a/net/ipv6/af_inet6.c +++ b/net/ipv6/af_inet6.c @@ -62,14 +62,15 @@ #include #include -#ifdef MODULE +#if 0 /*def MODULE*/ static int unloadable = 0; /* XX: Turn to one when all is ok within the module for allowing unload */ +MODULE_PARM(unloadable, "i"); #endif MODULE_AUTHOR("Cast of dozens"); MODULE_DESCRIPTION("IPv6 protocol stack for Linux"); -MODULE_PARM(unloadable, "i"); +MODULE_LICENSE("GPL"); /* IPv6 procfs goodies... */ @@ -871,4 +872,3 @@ static void inet6_exit(void) } module_exit(inet6_exit); #endif /* MODULE */ -MODULE_LICENSE("GPL"); -- 2.53.0