pps: remove unreachable code
authorAlexander Gordeev <lasaine@lvk.cs.msu.su>
Tue, 22 Mar 2011 23:35:06 +0000 (16:35 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Mar 2011 00:44:17 +0000 (17:44 -0700)
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>
drivers/pps/generators/pps_gen_parport.c

index b93af3ebb5baa1ece794b9054ca0fbf84563f20e..dcd39fba6ddd1c61a69aa99c7ad4e9f6285252fa 100644 (file)
@@ -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;