Commit f3b7b57c authored by Jan Kiszka's avatar Jan Kiszka Committed by Philippe Gerum
Browse files

ipipe: Drop unneeded NULL check from grab_timer

If evtdev should be NULL, we will crash on get_dev_mode(evtdev) further
down. So this test is never false in absence of sever bugs.
Signed-off-by: Jan Kiszka's avatarJan Kiszka <>
parent b9e5b84a
......@@ -452,7 +452,7 @@ static void grab_timer(void *arg)
steal = evtdev != NULL && !clockevent_state_detached(evtdev);
steal = !clockevent_state_detached(evtdev);
if (steal && evtdev->ipipe_stolen == 0) {
timer->real_mult = evtdev->mult;
timer->real_shift = evtdev->shift;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment