aboutsummaryrefslogtreecommitdiff
path: root/backend/multi
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-10-21 12:35:51 +0200
committeremersion <contact@emersion.fr>2017-10-21 12:35:51 +0200
commitc8570d0e426c60fb66fba4ccc8e74af73933e615 (patch)
tree7810f3a64f3f16ea1ae094593684561c564a77d1 /backend/multi
parent1782d5e7b7dc5e494cfee72b758d5fa8114aecc8 (diff)
Remove wl_list_init when using wl_signal_add
Diffstat (limited to 'backend/multi')
-rw-r--r--backend/multi/backend.c5
1 files changed, 0 insertions, 5 deletions
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);