OMAPDSS: APPLY: cleanup extra_info_update_ongoing

Trivial cleanup for extra_info_update_ongoing(), making the function a
bit cleaner.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:
Tomi Valkeinen 2011-11-25 17:35:35 +02:00
parent 3ab15b2aa7
commit 153b6e7357

View file

@ -426,7 +426,6 @@ static bool extra_info_update_ongoing(void)
struct omap_overlay *ovl; struct omap_overlay *ovl;
struct mgr_priv_data *mp; struct mgr_priv_data *mp;
int i; int i;
bool eid;
for (i = 0; i < num_ovls; ++i) { for (i = 0; i < num_ovls; ++i) {
ovl = omap_dss_get_overlay(i); ovl = omap_dss_get_overlay(i);
@ -437,15 +436,11 @@ static bool extra_info_update_ongoing(void)
if (!mp->enabled) if (!mp->enabled)
continue; continue;
eid = op->extra_info_dirty || op->shadow_extra_info_dirty; if (!mp->updating)
if (!eid)
continue; continue;
if (ovl_manual_update(ovl) && !mp->updating) if (op->extra_info_dirty || op->shadow_extra_info_dirty)
continue; return true;
return true;
} }
return false; return false;