From c8570d0e426c60fb66fba4ccc8e74af73933e615 Mon Sep 17 00:00:00 2001 From: emersion Date: Sat, 21 Oct 2017 12:35:51 +0200 Subject: Remove wl_list_init when using wl_signal_add --- backend/multi/backend.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'backend/multi') diff --git a/backend/multi/backend.c b/backend/multi/backend.c index 5f745c40..ae1d6803 100644 --- a/backend/multi/backend.c +++ b/backend/multi/backend.c @@ -130,11 +130,6 @@ void wlr_multi_backend_add(struct wlr_backend *_multi, sub->output_add.notify = output_add_reemit; sub->output_remove.notify = output_remove_reemit; - wl_list_init(&sub->input_add.link); - wl_list_init(&sub->input_remove.link); - wl_list_init(&sub->output_add.link); - wl_list_init(&sub->output_remove.link); - wl_signal_add(&backend->events.input_add, &sub->input_add); wl_signal_add(&backend->events.input_remove, &sub->input_remove); wl_signal_add(&backend->events.output_add, &sub->output_add); -- cgit v1.2.3