diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2015-01-12 09:44:03 -0500 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2015-03-20 08:30:16 -0400 |
commit | 9c660b7ceb0f104c72c4857e9c3619819d387f1d (patch) | |
tree | 7283d9c4a5fed7b2f16b3afe1baf57b458eea3e7 /drivers/gpu/drm/omapdrm | |
parent | fb9a35f89fac2ca97597ce212439d2997f2caf7e (diff) |
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: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm')
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_plane.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_plane.c b/drivers/gpu/drm/omapdrm/omap_plane.c index 056ded8280f8..c17460336fcc 100644 --- a/drivers/gpu/drm/omapdrm/omap_plane.c +++ b/drivers/gpu/drm/omapdrm/omap_plane.c | |||
@@ -121,7 +121,6 @@ static void omap_plane_pre_apply(struct omap_drm_apply *apply) | |||
121 | struct drm_crtc *crtc = plane->crtc; | 121 | struct drm_crtc *crtc = plane->crtc; |
122 | enum omap_channel channel; | 122 | enum omap_channel channel; |
123 | bool enabled = omap_plane->enabled && crtc; | 123 | bool enabled = omap_plane->enabled && crtc; |
124 | bool ilace, replication; | ||
125 | int ret; | 124 | int ret; |
126 | 125 | ||
127 | DBG("%s, enabled=%d", omap_plane->name, enabled); | 126 | DBG("%s, enabled=%d", omap_plane->name, enabled); |
@@ -145,13 +144,9 @@ static void omap_plane_pre_apply(struct omap_drm_apply *apply) | |||
145 | DBG("%d,%d %pad %pad", info->pos_x, info->pos_y, | 144 | DBG("%d,%d %pad %pad", info->pos_x, info->pos_y, |
146 | &info->paddr, &info->p_uv_addr); | 145 | &info->paddr, &info->p_uv_addr); |
147 | 146 | ||
148 | /* TODO: */ | ||
149 | ilace = false; | ||
150 | replication = false; | ||
151 | |||
152 | /* and finally, update omapdss: */ | 147 | /* and finally, update omapdss: */ |
153 | ret = dispc_ovl_setup(omap_plane->id, info, | 148 | ret = dispc_ovl_setup(omap_plane->id, info, false, |
154 | replication, omap_crtc_timings(crtc), false); | 149 | omap_crtc_timings(crtc), false); |
155 | if (ret) { | 150 | if (ret) { |
156 | dev_err(dev->dev, "dispc_ovl_setup failed: %d\n", ret); | 151 | dev_err(dev->dev, "dispc_ovl_setup failed: %d\n", ret); |
157 | return; | 152 | return; |