Skip to contentSkip to conversation

remove an unneeded #if from net/ipv6/af_inet6.c

PATCH New Adrian Bunk 1 participant 1 message Jan 18, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove an unneeded #if from net/ipv6/af_inet6.c

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

net/ipv6/af_inet6.c renamed from net/ipv6/af_inet6.c.old +0 -2
@@ -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... */