[TRIVIAL PATCH] 2.4.25pre7 warning fix

From: Krzysztof Halasa
Date: Tue Jan 27 2004 - 17:12:46 EST


Hi,

The attached patch fixes the following warning msg:

time.c:435: warning: `do_gettimeoffset_cyclone' defined but not used

There is no need to define functions which do just { return 0; } and
which aren't called by anything.

(In case CONFIG_X86_SUMMIT is defined, there is another (real)
do_gettimeoffset_cyclone() function, and it is referenced - but
it's simply not related to this empty function).

Please apply to 2.4 kernel tree. Thanks.
--
Krzysztof Halasa, B*FH
--- linux-2.4.orig/arch/i386/kernel/time.c 2003-10-24 22:48:15.000000000 +0200
+++ linux-2.4/arch/i386/kernel/time.c 2003-11-09 17:38:18.000000000 +0100
@@ -430,7 +430,6 @@

const int use_cyclone = 0;
static void mark_timeoffset_cyclone(void) {}
-static unsigned long do_gettimeoffset_cyclone(void) {return 0;}
static void init_cyclone_clock(void) {}
void __cyclone_delay(unsigned long loops) {}
#endif /* CONFIG_X86_SUMMIT */