* [2.5 patch] remove an unneeded #if from net/ipv6/af_inet6.c
@ 2003-01-18 17:19 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2003-01-18 17:19 UTC (permalink / raw)
To: Pedro Roque; +Cc: netdev
The patch below removes an unneeded #if from net/ipv6/af_inet6.c:
- kernel 2.0 is too ancient to check for
- the MODULE_* macros have empty definitions #if !MODULE
I've tested the compilation with 2.5.59.
Please apply
Adrian
--- linux-2.5.59-full/net/ipv6/af_inet6.c.old 2003-01-18 18:11:08.000000000 +0100
+++ linux-2.5.59-full/net/ipv6/af_inet6.c 2003-01-18 18:11:38.000000000 +0100
@@ -67,11 +67,9 @@
module for allowing unload */
#endif
-#if defined(MODULE) && LINUX_VERSION_CODE > 0x20115
MODULE_AUTHOR("Cast of dozens");
MODULE_DESCRIPTION("IPv6 protocol stack for Linux");
MODULE_PARM(unloadable, "i");
-#endif
/* IPv6 procfs goodies... */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-01-18 17:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-18 17:19 [2.5 patch] remove an unneeded #if from net/ipv6/af_inet6.c Adrian Bunk
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).