Commit 9c660b7c authored by Laurent Pinchart's avatar Laurent Pinchart

drm: omapdrm: Remove unused variables

The ilace variable is unused and the replication variable is assigned to
false and just passed to a function. Remove them.
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
parent fb9a35f8
...@@ -121,7 +121,6 @@ static void omap_plane_pre_apply(struct omap_drm_apply *apply) ...@@ -121,7 +121,6 @@ static void omap_plane_pre_apply(struct omap_drm_apply *apply)
struct drm_crtc *crtc = plane->crtc; struct drm_crtc *crtc = plane->crtc;
enum omap_channel channel; enum omap_channel channel;
bool enabled = omap_plane->enabled && crtc; bool enabled = omap_plane->enabled && crtc;
bool ilace, replication;
int ret; int ret;
DBG("%s, enabled=%d", omap_plane->name, enabled); DBG("%s, enabled=%d", omap_plane->name, enabled);
...@@ -145,13 +144,9 @@ static void omap_plane_pre_apply(struct omap_drm_apply *apply) ...@@ -145,13 +144,9 @@ static void omap_plane_pre_apply(struct omap_drm_apply *apply)
DBG("%d,%d %pad %pad", info->pos_x, info->pos_y, DBG("%d,%d %pad %pad", info->pos_x, info->pos_y,
&info->paddr, &info->p_uv_addr); &info->paddr, &info->p_uv_addr);
/* TODO: */
ilace = false;
replication = false;
/* and finally, update omapdss: */ /* and finally, update omapdss: */
ret = dispc_ovl_setup(omap_plane->id, info, ret = dispc_ovl_setup(omap_plane->id, info, false,
replication, omap_crtc_timings(crtc), false); omap_crtc_timings(crtc), false);
if (ret) { if (ret) {
dev_err(dev->dev, "dispc_ovl_setup failed: %d\n", ret); dev_err(dev->dev, "dispc_ovl_setup failed: %d\n", ret);
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment