continue;
if (other == SUSPEND_EXT_MOUSE && litest_touchpad_is_external(tp))
- return;
+ goto out;
/* That transition is tested elsewhere and has a different
* behavior */
assert_touchpad_moves(tp);
}
+out:
litest_delete_device(lid);
litest_delete_device(tabletmode);
litest_delete_device(extmouse);
continue;
if (other == SUSPEND_EXT_MOUSE && litest_touchpad_is_external(tp))
- return;
+ goto out;
/* That transition is tested elsewhere and has a different
* behavior */
assert_touchpad_moves(tp);
}
+out:
litest_delete_device(lid);
litest_delete_device(tabletmode);
litest_delete_device(extmouse);