OMAPDSS: APPLY: Remove an unnecessary omap_dss_device pointer
authorArchit Taneja <archit@ti.com>
Mon, 9 Apr 2012 09:06:08 +0000 (14:36 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 9 May 2012 10:44:08 +0000 (13:44 +0300)
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>
drivers/video/omap2/dss/apply.c

index 0ffe4e101c56d6c038bd3402ebd34d6dd6796eec..15c070cc695f3ca0c9d3f1c544532e488362fb8d 100644 (file)
@@ -960,14 +960,11 @@ static void dss_ovl_setup_fifo(struct omap_overlay *ovl,
                bool use_fifo_merge)
 {
        struct ovl_priv_data *op = get_ovl_priv(ovl);
-       struct omap_dss_device *dssdev;
        u32 fifo_low, fifo_high;
 
        if (!op->enabled && !op->enabling)
                return;
 
-       dssdev = ovl->manager->device;
-
        dispc_ovl_compute_fifo_thresholds(ovl->id, &fifo_low, &fifo_high,
                        use_fifo_merge);