diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-03-23 13:42:58 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 14:54:22 -0700 |
commit | bea3e747f3ff1abe8d7f730bbf7d195f0e14d6ad (patch) | |
tree | b96a88683f4c3f789de9cfd4ca443e26a26ec4ba /drivers/staging | |
parent | 7c14e54458b7f419fbaa802657c2535b2fdf217e (diff) | |
download | linux-stable-bea3e747f3ff1abe8d7f730bbf7d195f0e14d6ad.tar.gz linux-stable-bea3e747f3ff1abe8d7f730bbf7d195f0e14d6ad.tar.bz2 linux-stable-bea3e747f3ff1abe8d7f730bbf7d195f0e14d6ad.zip |
Staging: epl: remove pointless highres timer check
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/epl/TimerHighReskX86.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/staging/epl/TimerHighReskX86.c b/drivers/staging/epl/TimerHighReskX86.c index 8a97fb413965..d6897de4f140 100644 --- a/drivers/staging/epl/TimerHighReskX86.c +++ b/drivers/staging/epl/TimerHighReskX86.c @@ -97,10 +97,6 @@ #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. */ |