e_comp: fix warnings 47/81347/1
authorGwanglim Lee <gl77.lee@samsung.com>
Mon, 25 Jul 2016 13:43:27 +0000 (22:43 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Mon, 25 Jul 2016 13:43:27 +0000 (22:43 +0900)
Change-Id: Icca7147e6dd9be46afd47adf64a16ec7c4dbf7cc

src/bin/e_comp.c

index 34e2603a4420a37ff1fe156f7e4c83b6ea7a7c2b..ede02e7c4a7a76b6bb4e04e01bb5bd527bf8ac94 100644 (file)
@@ -557,28 +557,6 @@ _hwc_plane_reserved_clean()
    return EINA_TRUE;
 }
 
-static Eina_Bool
-_hwc_plane_reserved_clean()
-{
-   Eina_List *l, *ll;
-   E_Zone *zone;
-   E_Plane *ep;
-
-   EINA_LIST_FOREACH(e_comp->zones, l, zone)
-     {
-        E_Output * eout;
-        if (!zone->output_id) continue;
-        eout = e_output_find(zone->output_id);
-        EINA_LIST_FOREACH(eout->planes, ll, ep)
-          {
-             if (e_plane_is_reserved(ep))
-                e_plane_reserved_set(ep, 0);
-          }
-     }
-
-   return EINA_TRUE;
-}
-
 static Eina_Bool
 _e_comp_hwc_apply(E_Output * eout)
 {
@@ -679,7 +657,6 @@ _e_comp_hwc_prepare(void)
         EINA_LIST_FOREACH(vis_clist, vl, ec)
           {
              E_Comp_Wl_Client_Data *cdata = (E_Comp_Wl_Client_Data*)ec->comp_data;
-             int cnt = 0;
 
              // check clients not able to use hwc
              // if pixmap is launch screen image