Skip to content

Commit

Permalink
OMAPDSS: APPLY: remove unused variables
Browse files Browse the repository at this point in the history
dss_mgr_check_zorder() has two unused variables. Remove them.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
  • Loading branch information
Tomi Valkeinen committed Jan 2, 2012
1 parent 04576d4 commit 5af661c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/video/omap2/dss/apply.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 5af661c

Please sign in to comment.