test: remove double-assignment to a variable
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 20 Feb 2020 08:15:19 +0000 (18:15 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 24 Feb 2020 01:53:21 +0000 (01:53 +0000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/test-touchpad.c

index d25052d4c9eae33aa952d34da3fb793938d03c88..f3aa4f3780a72bd01159732d967e010b7dbe4945 100644 (file)
@@ -3580,8 +3580,6 @@ START_TEST(touchpad_fingers_down_before_init)
                              BTN_TOOL_TRIPLETAP, BTN_TOOL_QUADTAP,
                              BTN_TOOL_QUINTTAP};
 
-       dev = litest_current_device();
-
        if (!libevdev_has_event_code(dev->evdev, EV_KEY, map[finger_count]))
                return;