ivi-shell: remove ivi_layout_get_screen_from_id API

The controller plugins does not use ivi screens for IVI layout APIs.
They use weston outputs directly. Therefore, this API is unnecessary.

Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Acked-by: Wataru Natsume <wnatsume@jp.adit-jv.com>
diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c
index 798049a..f1ee2db 100644
--- a/ivi-shell/ivi-layout.c
+++ b/ivi-shell/ivi-layout.c
@@ -1361,20 +1361,6 @@
 	return NULL;
 }
 
-static struct ivi_layout_screen *
-ivi_layout_get_screen_from_id(uint32_t id_screen)
-{
-	struct ivi_layout *layout = get_instance();
-	struct ivi_layout_screen *iviscrn = NULL;
-
-	wl_list_for_each(iviscrn, &layout->screen_list, link) {
-		if (iviscrn->output->id == id_screen)
-			return iviscrn;
-	}
-
-	return NULL;
-}
-
 static int32_t
 ivi_layout_surface_add_notification(struct ivi_layout_surface *ivisurf,
 				    surface_property_notification_func callback,
@@ -2444,9 +2430,8 @@
 	.layer_set_transition			= ivi_layout_layer_set_transition,
 
 	/**
-	 * screen controller interfaces part1
+	 * screen controller interfaces
 	 */
-	.get_screen_from_id		= ivi_layout_get_screen_from_id,
 	.get_screens_under_layer	= ivi_layout_get_screens_under_layer,
 	.screen_add_layer		= ivi_layout_screen_add_layer,
 	.screen_set_render_order	= ivi_layout_screen_set_render_order,