]> Pileus Git - ~andy/linux/commitdiff
OMAPDSS: APPLY: remove unused variables
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 8 Dec 2011 08:27:14 +0000 (10:27 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 2 Jan 2012 06:51:24 +0000 (08:51 +0200)
dss_mgr_check_zorder() has two unused variables. Remove them.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/apply.c

index a3c75f582e1f22c5255b342893baa0aa8a10cbe3..f8506d79a7f912eca6e8e74da4b68f0697e665df 100644 (file)
@@ -220,11 +220,9 @@ static int dss_mgr_check_zorder(struct omap_overlay_manager *mgr,
                struct omap_overlay_info **overlay_infos)
 {
        struct omap_overlay *ovl1, *ovl2;
-       struct ovl_priv_data *op1, *op2;
        struct omap_overlay_info *info1, *info2;
 
        list_for_each_entry(ovl1, &mgr->overlays, list) {
-               op1 = get_ovl_priv(ovl1);
                info1 = overlay_infos[ovl1->id];
 
                if (info1 == NULL)
@@ -234,7 +232,6 @@ static int dss_mgr_check_zorder(struct omap_overlay_manager *mgr,
                        if (ovl1 == ovl2)
                                continue;
 
-                       op2 = get_ovl_priv(ovl2);
                        info2 = overlay_infos[ovl2->id];
 
                        if (info2 == NULL)