aboutsummaryrefslogtreecommitdiff
path: root/backend/multi
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-10-21 09:40:18 -0400
committerGitHub <noreply@github.com>2017-10-21 09:40:18 -0400
commitce2f945441155fa9d98935dabd6979304f2d2fbc (patch)
tree5e6d6aa0d0071093f64987fb4e189668062aa312 /backend/multi
parent17adb2621889284a2917f7a00a1dff2bc96c5b89 (diff)
parentf2c4b80620337e8533ce0986186cc914d45b6dce (diff)
Merge pull request #303 from emersion/wl-signal-no-list-init
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);