diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-12-08 03:27:14 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-01-02 01:51:24 -0500 |
commit | 5af661ce1a8c7672364c2c911b76186589db0f0e (patch) | |
tree | fe39993a42c7c640272906d497d843b6e6fcd45f | |
parent | 04576d415e01aa08752bf3884db9862cfbba9115 (diff) |
OMAPDSS: APPLY: remove unused variables
dss_mgr_check_zorder() has two unused variables. Remove them.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r-- | drivers/video/omap2/dss/apply.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/video/omap2/dss/apply.c b/drivers/video/omap2/dss/apply.c index a3c75f582e1f..f8506d79a7f9 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, | |||
220 | struct omap_overlay_info **overlay_infos) | 220 | struct omap_overlay_info **overlay_infos) |
221 | { | 221 | { |
222 | struct omap_overlay *ovl1, *ovl2; | 222 | struct omap_overlay *ovl1, *ovl2; |
223 | struct ovl_priv_data *op1, *op2; | ||
224 | struct omap_overlay_info *info1, *info2; | 223 | struct omap_overlay_info *info1, *info2; |
225 | 224 | ||
226 | list_for_each_entry(ovl1, &mgr->overlays, list) { | 225 | list_for_each_entry(ovl1, &mgr->overlays, list) { |
227 | op1 = get_ovl_priv(ovl1); | ||
228 | info1 = overlay_infos[ovl1->id]; | 226 | info1 = overlay_infos[ovl1->id]; |
229 | 227 | ||
230 | if (info1 == NULL) | 228 | if (info1 == NULL) |
@@ -234,7 +232,6 @@ static int dss_mgr_check_zorder(struct omap_overlay_manager *mgr, | |||
234 | if (ovl1 == ovl2) | 232 | if (ovl1 == ovl2) |
235 | continue; | 233 | continue; |
236 | 234 | ||
237 | op2 = get_ovl_priv(ovl2); | ||
238 | info2 = overlay_infos[ovl2->id]; | 235 | info2 = overlay_infos[ovl2->id]; |
239 | 236 | ||
240 | if (info2 == NULL) | 237 | if (info2 == NULL) |