Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 77d1c8eb authored by Alexander Gordeev's avatar Alexander Gordeev Committed by Linus Torvalds
Browse files

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: default avatarAlexander Gordeev <lasaine@lvk.cs.msu.su>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Rodolfo Giometti <giometti@linux.it>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent da23ef05
Loading
Loading
Loading
Loading
+0 −5
Original line number Original line Diff line number Diff line
@@ -216,11 +216,6 @@ static void parport_attach(struct parport *port)


	hrtimer_init(&device.timer, CLOCK_REALTIME, HRTIMER_MODE_ABS);
	hrtimer_init(&device.timer, CLOCK_REALTIME, HRTIMER_MODE_ABS);
	device.timer.function = hrtimer_event;
	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);
	hrtimer_start(&device.timer, next_intr_time(&device), HRTIMER_MODE_ABS);


	return;
	return;