Skip to content

Commit

Permalink
pps: remove unreachable code
Browse files Browse the repository at this point in the history
Remove code enabled only when CONFIG_PREEMPT_RT is turned on because it is
not used in the vanilla kernel.

Signed-off-by: Alexander Gordeev <[email protected]>
Cc: john stultz <[email protected]>
Cc: Rodolfo Giometti <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
ago authored and torvalds committed Mar 23, 2011
1 parent da23ef0 commit 77d1c8e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/pps/generators/pps_gen_parport.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,6 @@ static void parport_attach(struct parport *port)

hrtimer_init(&device.timer, CLOCK_REALTIME, HRTIMER_MODE_ABS);
device.timer.function = hrtimer_event;
#ifdef CONFIG_PREEMPT_RT
/* hrtimer interrupt will run in the interrupt context with this */
device.timer.irqsafe = 1;
#endif

hrtimer_start(&device.timer, next_intr_time(&device), HRTIMER_MODE_ABS);

return;
Expand Down

0 comments on commit 77d1c8e

Please sign in to comment.