From: Tomi Valkeinen Date: Thu, 8 Dec 2011 08:27:14 +0000 (+0200) Subject: OMAPDSS: APPLY: remove unused variables X-Git-Tag: v3.3-rc3~7^2~6^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5af661ce1a8c7672364c2c911b76186589db0f0e;p=platform%2Fkernel%2Flinux-3.10.git OMAPDSS: APPLY: remove unused variables dss_mgr_check_zorder() has two unused variables. Remove them. Signed-off-by: Tomi Valkeinen --- diff --git a/drivers/video/omap2/dss/apply.c b/drivers/video/omap2/dss/apply.c index a3c75f5..f8506d7 100644 --- a/drivers/video/omap2/dss/apply.c +++ b/drivers/video/omap2/dss/apply.c @@ -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)