From: Archit Taneja Date: Mon, 9 Apr 2012 09:06:08 +0000 (+0530) Subject: OMAPDSS: APPLY: Remove an unnecessary omap_dss_device pointer X-Git-Tag: v3.5-rc3~26^2~22^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b3d795abb253c7605f8b6257f2e25e7ebaaf4b57;p=profile%2Fcommon%2Fkernel-common.git 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 --- diff --git a/drivers/video/omap2/dss/apply.c b/drivers/video/omap2/dss/apply.c index 0ffe4e1..15c070c 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, 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);