Skip to content

Commit

Permalink
Staging: epl: remove pointless highres timer check
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed Apr 3, 2009
1 parent 7c14e54 commit bea3e74
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions drivers/staging/epl/TimerHighReskX86.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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.
*/
Expand Down

0 comments on commit bea3e74

Please sign in to comment.