Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b3d795ab authored by Archit Taneja's avatar Archit Taneja Committed by Tomi Valkeinen
Browse files

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: default avatarArchit Taneja <archit@ti.com>
parent fcc36619
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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);