]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Staging: epl: remove pointless highres timer check
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 23 Mar 2009 20:42:58 +0000 (13:42 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:54:22 +0000 (14:54 -0700)
The code only gets built if this option is enabled, so don't
check for it in the code again.

Cc: Daniel Krueger <daniel.krueger@systec-electronic.com>
Cc: Ronald Sieber <Ronald.Sieber@systec-electronic.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/epl/TimerHighReskX86.c

index 8a97fb4139657634f88cc7c0abb240b8f55ce820..d6897de4f140db96ded303aaa5fea7b73e626af7 100644 (file)
 
 #define PROVE_OVERRUN
 
-#ifndef CONFIG_HIGH_RES_TIMERS
-#error "Kernel symbol CONFIG_HIGH_RES_TIMERS is required."
-#endif
-
 // TracePoint support for realtime-debugging
 #ifdef _DBG_TRACE_POINTS_
 void TgtDbgSignalTracePoint(u8 bTracePointNumber_p);
@@ -206,13 +202,6 @@ tEplKernel EplTimerHighReskAddInstance(void)
        EPL_MEMSET(&EplTimerHighReskInstance_l, 0,
                   sizeof(EplTimerHighReskInstance_l));
 
-#ifndef CONFIG_HIGH_RES_TIMERS
-       printk
-           ("EplTimerHighResk: Kernel symbol CONFIG_HIGH_RES_TIMERS is required.\n");
-       Ret = kEplNoResource;
-       return Ret;
-#endif
-
        /*
         * Initialize hrtimer structures for all usable timers.
         */