projects/linux·commit 77d1c8eb

pps: remove unreachable code

77d1c8eb · Alexander Gordeev <[email protected]> · 2011-03-22 16:35:06 -07:00

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]>
Commit
77d1c8eb8a8e0989f4c46e9a40bbd4185d34974e
Parents
da23ef05

Changes

1 files changed · +0 −5

FileStatusAddDelContent
drivers/pps/generators/pps_gen_parport.cmodified+0−5View file

drivers/pps/generators/pps_gen_parport.c

View file
diff --git a/drivers/pps/generators/pps_gen_parport.c b/drivers/pps/generators/pps_gen_parport.c
index b93af3e..dcd39fb 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)
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;