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

pps: remove unreachable code

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 <lasaine@lvk.cs.msu.su>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Rodolfo Giometti <giometti@linux.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Alexander Gordeev and committed by
Linus Torvalds
77d1c8eb da23ef05

-5
-5
drivers/pps/generators/pps_gen_parport.c
··· 216 216 217 217 hrtimer_init(&device.timer, CLOCK_REALTIME, HRTIMER_MODE_ABS); 218 218 device.timer.function = hrtimer_event; 219 - #ifdef CONFIG_PREEMPT_RT 220 - /* hrtimer interrupt will run in the interrupt context with this */ 221 - device.timer.irqsafe = 1; 222 - #endif 223 - 224 219 hrtimer_start(&device.timer, next_intr_time(&device), HRTIMER_MODE_ABS); 225 220 226 221 return;