diff options
author | Archit Taneja <archit@ti.com> | 2012-11-07 04:17:23 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-11-12 06:52:59 -0500 |
commit | ca8d4e8bb201db9bc5619561f3c13f6beb58329c (patch) | |
tree | 84495bd07ae28a484a079d8a96867523f607eb09 | |
parent | 02b5ff1a96af7fab8db602677c220c0a35b1f687 (diff) |
OMAPDSS: APPLY: Remove unnecessary variable in dss_apply_irq_handler
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>
-rw-r--r-- | drivers/video/omap2/dss/apply.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/omap2/dss/apply.c b/drivers/video/omap2/dss/apply.c index ecac6b6e5a8d..55fb5d778ae5 100644 --- a/drivers/video/omap2/dss/apply.c +++ b/drivers/video/omap2/dss/apply.c | |||
@@ -827,7 +827,6 @@ static void dss_apply_irq_handler(void *data, u32 mask) | |||
827 | for (i = 0; i < num_mgrs; i++) { | 827 | for (i = 0; i < num_mgrs; i++) { |
828 | struct omap_overlay_manager *mgr; | 828 | struct omap_overlay_manager *mgr; |
829 | struct mgr_priv_data *mp; | 829 | struct mgr_priv_data *mp; |
830 | bool was_updating; | ||
831 | 830 | ||
832 | mgr = omap_dss_get_overlay_manager(i); | 831 | mgr = omap_dss_get_overlay_manager(i); |
833 | mp = get_mgr_priv(mgr); | 832 | mp = get_mgr_priv(mgr); |
@@ -835,7 +834,6 @@ static void dss_apply_irq_handler(void *data, u32 mask) | |||
835 | if (!mp->enabled) | 834 | if (!mp->enabled) |
836 | continue; | 835 | continue; |
837 | 836 | ||
838 | was_updating = mp->updating; | ||
839 | mp->updating = dispc_mgr_is_enabled(i); | 837 | mp->updating = dispc_mgr_is_enabled(i); |
840 | 838 | ||
841 | if (!mgr_manual_update(mgr)) { | 839 | if (!mgr_manual_update(mgr)) { |