diff options
author | Archit Taneja <archit@ti.com> | 2012-04-09 05:06:08 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-05-09 06:44:08 -0400 |
commit | b3d795abb253c7605f8b6257f2e25e7ebaaf4b57 (patch) | |
tree | 903ddd5ed9598fd80f710d5832deba6ae4d08474 /drivers | |
parent | fcc36619901064a76e15a545ea36d38ba0e54192 (diff) |
OMAPDSS: APPLY: Remove an unnecessary omap_dss_device pointer
The omap_dss_device pointer declared in dss_ovl_setup_fifo() isn't used. Remove
the pointer variable declaration and it's assignment.
Signed-off-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/omap2/dss/apply.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/video/omap2/dss/apply.c b/drivers/video/omap2/dss/apply.c index 0ffe4e101c56..15c070cc695f 100644 --- a/drivers/video/omap2/dss/apply.c +++ b/drivers/video/omap2/dss/apply.c | |||
@@ -960,14 +960,11 @@ static void dss_ovl_setup_fifo(struct omap_overlay *ovl, | |||
960 | bool use_fifo_merge) | 960 | bool use_fifo_merge) |
961 | { | 961 | { |
962 | struct ovl_priv_data *op = get_ovl_priv(ovl); | 962 | struct ovl_priv_data *op = get_ovl_priv(ovl); |
963 | struct omap_dss_device *dssdev; | ||
964 | u32 fifo_low, fifo_high; | 963 | u32 fifo_low, fifo_high; |
965 | 964 | ||
966 | if (!op->enabled && !op->enabling) | 965 | if (!op->enabled && !op->enabling) |
967 | return; | 966 | return; |
968 | 967 | ||
969 | dssdev = ovl->manager->device; | ||
970 | |||
971 | dispc_ovl_compute_fifo_thresholds(ovl->id, &fifo_low, &fifo_high, | 968 | dispc_ovl_compute_fifo_thresholds(ovl->id, &fifo_low, &fifo_high, |
972 | use_fifo_merge); | 969 | use_fifo_merge); |
973 | 970 | ||