Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-11
-11
drivers/staging/epl/TimerHighReskX86.c
··· 97 97 98 98 #define PROVE_OVERRUN 99 99 100 - #ifndef CONFIG_HIGH_RES_TIMERS 101 - #error "Kernel symbol CONFIG_HIGH_RES_TIMERS is required." 102 - #endif 103 - 104 100 // TracePoint support for realtime-debugging 105 101 #ifdef _DBG_TRACE_POINTS_ 106 102 void TgtDbgSignalTracePoint(u8 bTracePointNumber_p); ··· 201 205 202 206 EPL_MEMSET(&EplTimerHighReskInstance_l, 0, 203 207 sizeof(EplTimerHighReskInstance_l)); 204 - 205 - #ifndef CONFIG_HIGH_RES_TIMERS 206 - printk 207 - ("EplTimerHighResk: Kernel symbol CONFIG_HIGH_RES_TIMERS is required.\n"); 208 - Ret = kEplNoResource; 209 - return Ret; 210 - #endif 211 208 212 209 /* 213 210 * Initialize hrtimer structures for all usable timers.