提交 153b6e73 编写于 作者: T Tomi Valkeinen

OMAPDSS: APPLY: cleanup extra_info_update_ongoing

Trivial cleanup for extra_info_update_ongoing(), making the function a
bit cleaner.
Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
上级 3ab15b2a
......@@ -426,7 +426,6 @@ static bool extra_info_update_ongoing(void)
struct omap_overlay *ovl;
struct mgr_priv_data *mp;
int i;
bool eid;
for (i = 0; i < num_ovls; ++i) {
ovl = omap_dss_get_overlay(i);
......@@ -437,15 +436,11 @@ static bool extra_info_update_ongoing(void)
if (!mp->enabled)
continue;
eid = op->extra_info_dirty || op->shadow_extra_info_dirty;
if (!eid)
continue;
if (ovl_manual_update(ovl) && !mp->updating)
if (!mp->updating)
continue;
return true;
if (op->extra_info_dirty || op->shadow_extra_info_dirty)
return true;
}
return false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册