From 125e98a1f8909cafbb968ea0c2bd9b21349490bb Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 22 Jul 2014 09:00:27 +1000 Subject: [PATCH] style fix: Remove duplicate empty lines Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad.c | 1 - src/libinput.c | 1 - src/udev-seat.c | 1 - test/litest-keyboard.c | 1 - test/litest.c | 3 --- test/path.c | 4 ---- test/touch.c | 1 - test/udev.c | 1 - tools/event-gui.c | 1 - 9 files changed, 14 deletions(-) diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c index b0520c7..67828bd 100644 --- a/src/evdev-mt-touchpad.c +++ b/src/evdev-mt-touchpad.c @@ -777,7 +777,6 @@ tp_init_palmdetect(struct tp_dispatch *tp, return 0; } - static int tp_init(struct tp_dispatch *tp, struct evdev_device *device) diff --git a/src/libinput.c b/src/libinput.c index a278ce4..90b6a13 100644 --- a/src/libinput.c +++ b/src/libinput.c @@ -1052,7 +1052,6 @@ touch_notify_frame(struct libinput_device *device, &touch_event->base); } - static void libinput_post_event(struct libinput *libinput, struct libinput_event *event) diff --git a/src/udev-seat.c b/src/udev-seat.c index 635fabf..8d19894 100644 --- a/src/udev-seat.c +++ b/src/udev-seat.c @@ -216,7 +216,6 @@ udev_input_remove_devices(struct udev_input *input) } } - static void udev_input_disable(struct libinput *libinput) { diff --git a/test/litest-keyboard.c b/test/litest-keyboard.c index c097315..6a9accd 100644 --- a/test/litest-keyboard.c +++ b/test/litest-keyboard.c @@ -195,7 +195,6 @@ static int events[] = { -1, -1, }; - struct litest_test_device litest_keyboard_device = { .type = LITEST_KEYBOARD, .features = LITEST_KEYS, diff --git a/test/litest.c b/test/litest.c index 1ffbd53..4e79f7b 100644 --- a/test/litest.c +++ b/test/litest.c @@ -97,7 +97,6 @@ struct litest_test_device* devices[] = { NULL, }; - static struct list all_tests; static void @@ -235,7 +234,6 @@ is_debugger_attached(void) return rc; } - static void litest_list_tests(struct list *tests) { @@ -421,7 +419,6 @@ merge_events(const int *orig, const int *override) return events; } - static struct litest_device * litest_create(enum litest_device_type which, const char *name_override, diff --git a/test/path.c b/test/path.c index 99b474e..b5e222d 100644 --- a/test/path.c +++ b/test/path.c @@ -53,7 +53,6 @@ const struct libinput_interface simple_interface = { .close_restricted = close_restricted, }; - START_TEST(path_create_NULL) { struct libinput *li; @@ -492,7 +491,6 @@ START_TEST(path_add_device_suspend_resume) ck_assert_int_eq(nevents, 2); - libinput_suspend(li); libinput_dispatch(li); @@ -576,7 +574,6 @@ START_TEST(path_add_device_suspend_resume_fail) ck_assert_int_eq(nevents, 2); - libinput_suspend(li); libinput_dispatch(li); @@ -667,7 +664,6 @@ START_TEST(path_add_device_suspend_resume_remove_device) ck_assert_int_eq(nevents, 2); - libinput_suspend(li); libinput_dispatch(li); diff --git a/test/touch.c b/test/touch.c index 6f6eec0..fee05f1 100644 --- a/test/touch.c +++ b/test/touch.c @@ -112,7 +112,6 @@ START_TEST(touch_abs_transform) } END_TEST - START_TEST(touch_many_slots) { struct libinput *libinput; diff --git a/test/udev.c b/test/udev.c index f07decb..9a59eb5 100644 --- a/test/udev.c +++ b/test/udev.c @@ -47,7 +47,6 @@ const struct libinput_interface simple_interface = { .close_restricted = close_restricted, }; - START_TEST(udev_create_NULL) { struct libinput *li; diff --git a/tools/event-gui.c b/tools/event-gui.c index 544a682..3ef3005 100644 --- a/tools/event-gui.c +++ b/tools/event-gui.c @@ -431,7 +431,6 @@ parse_opts(int argc, char *argv[]) return 0; } - static int open_restricted(const char *path, int flags, void *user_data) { -- 2.7.4