[2.6 patch] really uninline lmc_trace

From: Adrian Bunk
Date: Thu Aug 26 2004 - 12:29:30 EST


As part of some gcc 3.4 fixes, someone removed the inline from the
prototype of lmc_trace in lmc_debug.c, but the useless inline at the
actual function remained.

The patch below removes it.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.9-rc1-mm1-full/drivers/net/wan/lmc/lmc_debug.c.old 2004-08-26 18:55:27.000000000 +0200
+++ linux-2.6.9-rc1-mm1-full/drivers/net/wan/lmc/lmc_debug.c 2004-08-26 18:55:53.000000000 +0200
@@ -64,7 +64,7 @@
#endif
}

-inline void lmc_trace(struct net_device *dev, char *msg){
+void lmc_trace(struct net_device *dev, char *msg){
#ifdef LMC_TRACE
unsigned long j = jiffies + 3; /* Wait for 50 ms */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/