Skip to content

Commit

Permalink
OMAPDSS: APPLY: remove device_changed field
Browse files Browse the repository at this point in the history
omap_overlay_manager contains device_changed field, which no longer has
any use. So remove the field and the few places where it is touched.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
  • Loading branch information
Tomi Valkeinen committed Dec 2, 2011
1 parent 0b53f17 commit ff4733d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
7 changes: 0 additions & 7 deletions drivers/video/omap2/dss/apply.c
Original file line number Diff line number Diff line change
Expand Up @@ -608,11 +608,6 @@ static void omap_dss_mgr_apply_mgr(struct omap_overlay_manager *mgr)

mp = get_mgr_priv(mgr);

if (mgr->device_changed) {
mgr->device_changed = false;
mp->user_info_dirty = true;
}

if (!mp->user_info_dirty)
return;

Expand Down Expand Up @@ -807,7 +802,6 @@ int dss_mgr_set_device(struct omap_overlay_manager *mgr,

dssdev->manager = mgr;
mgr->device = dssdev;
mgr->device_changed = true;

mutex_unlock(&apply_lock);

Expand Down Expand Up @@ -840,7 +834,6 @@ int dss_mgr_unset_device(struct omap_overlay_manager *mgr)

mgr->device->manager = NULL;
mgr->device = NULL;
mgr->device_changed = true;

mutex_unlock(&apply_lock);

Expand Down
2 changes: 0 additions & 2 deletions include/video/omapdss.h
Original file line number Diff line number Diff line change
Expand Up @@ -426,8 +426,6 @@ struct omap_overlay_manager {
/* dynamic fields */
struct omap_dss_device *device;

bool device_changed;

int (*set_device)(struct omap_overlay_manager *mgr,
struct omap_dss_device *dssdev);
int (*unset_device)(struct omap_overlay_manager *mgr);
Expand Down

0 comments on commit ff4733d

Please sign in to comment.