remove unused function 69/169269/8
authorSooChan Lim <sc1.lim@samsung.com>
Mon, 5 Feb 2018 09:57:18 +0000 (18:57 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Wed, 7 Feb 2018 23:40:15 +0000 (23:40 +0000)
Change-Id: If002ab771482b66cc6fd229049ac6adb9defd786

src/tdm_exynos_output.c
src/tdm_exynos_types.h

index b99974f2f0ef783227fb6d8ecdfe1eb654d793c9..72daf5c5dbf8786e37863fecb3abb9e94f6440e2 100644 (file)
@@ -985,22 +985,7 @@ _update_layers_info(tdm_exynos_output_data *output_data)
                }
        }
 }
-#if 0
-static int
-_get_number_of_visible_windows(struct list_head *hwc_window_list)
-{
-       int number = 0;
-       tdm_exynos_hwc_window_data *window = NULL;
 
-       LIST_FOR_EACH_ENTRY(window, hwc_window_list, link) {
-               if (window->client_type == TDM_COMPOSITION_NONE)
-                       continue;
-               number++;
-       }
-
-       return number;
-}
-#endif
 static tdm_exynos_hwc_window_data *
 _exynos_output_find_assigned_hwc_window(struct list_head *hwc_wnds, int layer_zpos)
 {
@@ -1350,7 +1335,7 @@ exynos_output_hwc_window_create(tdm_output *output, tdm_error *error)
        if (hwc_window_data == NULL)
                return NULL;
 
-    LIST_ADDTAIL(&hwc_window_data->link, &output_data->hwc_window_list);
+       LIST_ADDTAIL(&hwc_window_data->link, &output_data->hwc_window_list);
 
        TDM_DBG("hwc_window_data(%p) create", hwc_window_data);
        if (error)
@@ -1720,7 +1705,7 @@ exynos_output_hwc_create_video_window(tdm_output *output, tdm_error *error)
        if (hwc_window_data == NULL)
                return NULL;
 
-    LIST_ADDTAIL(&hwc_window_data->link, &output_data->hwc_window_list);
+       LIST_ADDTAIL(&hwc_window_data->link, &output_data->hwc_window_list);
 
        output_data->video_hwc_window = hwc_window_data;
 
index ba83d0762ab144ab4d04950811c08ba03c6704fc..84bf8a3b877fdec136078b844ae754bec0b5ac9c 100644 (file)
@@ -201,7 +201,7 @@ struct _tdm_exynos_hwc_window_data {
        tdm_hwc_window_composition client_type;
        tdm_hwc_window_composition validated_type;
 
-    int candidate_layer_zpos;
+       int candidate_layer_zpos;
        int assigned_layer_zpos;
 
        tdm_hwc_window_flag flags;