aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pps/generators
diff options
context:
space:
mode:
authorAlexander Gordeev <lasaine@lvk.cs.msu.su>2011-03-22 19:35:06 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-22 20:44:17 -0400
commit77d1c8eb8a8e0989f4c46e9a40bbd4185d34974e (patch)
treeee3906e330cba9035d8e1dde527a31fcada9c2a1 /drivers/pps/generators
parentda23ef0549d4205ca9b576cf6cce9a80d0c3e43a (diff)
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>
Diffstat (limited to 'drivers/pps/generators')
-rw-r--r--drivers/pps/generators/pps_gen_parport.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/pps/generators/pps_gen_parport.c b/drivers/pps/generators/pps_gen_parport.c
index b93af3ebb5ba..dcd39fba6ddd 100644
--- a/drivers/pps/generators/pps_gen_parport.c
+++ b/drivers/pps/generators/pps_gen_parport.c
@@ -216,11 +216,6 @@ static void parport_attach(struct parport *port)
216 216
217 hrtimer_init(&device.timer, CLOCK_REALTIME, HRTIMER_MODE_ABS); 217 hrtimer_init(&device.timer, CLOCK_REALTIME, HRTIMER_MODE_ABS);
218 device.timer.function = hrtimer_event; 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 hrtimer_start(&device.timer, next_intr_time(&device), HRTIMER_MODE_ABS); 219 hrtimer_start(&device.timer, next_intr_time(&device), HRTIMER_MODE_ABS);
225 220
226 return; 221 return;