summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ivi-shell/ivi-layout.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c
index 40881da7..2b218331 100644
--- a/ivi-shell/ivi-layout.c
+++ b/ivi-shell/ivi-layout.c
@@ -1646,11 +1646,6 @@ ivi_layout_screen_add_layer(struct weston_output *output,
iviscrn = get_screen_from_output(output);
- if (addlayer->on_screen == iviscrn) {
- weston_log("ivi_layout_screen_add_layer: addlayer is already available\n");
- return IVI_SUCCEEDED;
- }
-
wl_list_remove(&addlayer->pending.link);
wl_list_insert(&iviscrn->pending.layer_list, &addlayer->pending.link);