Skip to content

Commit

Permalink
OMAPDSS: APPLY: Remove unnecessary variable in dss_apply_irq_handler
Browse files Browse the repository at this point in the history
The bool was_updating is never really used for anything. It is set to the
current value of mp->updating, but not used anywhere. Remove this variable.

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
  • Loading branch information
Archit Taneja authored and Tomi Valkeinen committed Nov 12, 2012
1 parent 02b5ff1 commit ca8d4e8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/video/omap2/dss/apply.c
Original file line number Diff line number Diff line change
Expand Up @@ -827,15 +827,13 @@ static void dss_apply_irq_handler(void *data, u32 mask)
for (i = 0; i < num_mgrs; i++) {
struct omap_overlay_manager *mgr;
struct mgr_priv_data *mp;
bool was_updating;

mgr = omap_dss_get_overlay_manager(i);
mp = get_mgr_priv(mgr);

if (!mp->enabled)
continue;

was_updating = mp->updating;
mp->updating = dispc_mgr_is_enabled(i);

if (!mgr_manual_update(mgr)) {
Expand Down

0 comments on commit ca8d4e8

Please sign in to comment.