Commit 9cde37cf authored by Jan Kiszka's avatar Jan Kiszka Committed by Philippe Gerum

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 db2a0783
......@@ -437,7 +437,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
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment