netdev
[Top] [All Lists]

[2.5 patch] remove an unneeded #if from net/ipv6/af_inet6.c (fwd)

To: Linus Torvalds <torvalds@xxxxxxxxxxxxx>
Subject: [2.5 patch] remove an unneeded #if from net/ipv6/af_inet6.c (fwd)
From: Adrian Bunk <bunk@xxxxxxxxx>
Date: Fri, 21 Feb 2003 16:57:49 +0100
Cc: netdev@xxxxxxxxxxx, trivial@xxxxxxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4i
Hi Linus,

the trivial patch forwarded below still applies against and compiles in 
2.5.62.

Please apply
Adrian


----- Forwarded message from Adrian Bunk <bunk@xxxxxxxxx> -----

Date: Sat, 18 Jan 2003 18:19:22 +0100
From: Adrian Bunk <bunk@xxxxxxxxx>
To: Pedro Roque <roque@xxxxxxxxxxx>
Cc: netdev@xxxxxxxxxxx
Subject: [2.5 patch] 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


--- 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... */
 


----- End forwarded message -----


<Prev in Thread] Current Thread [Next in Thread>
  • [2.5 patch] remove an unneeded #if from net/ipv6/af_inet6.c (fwd), Adrian Bunk <=