aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_plane.c
diff options
context:
space:
mode:
authorBoris BREZILLON <[email protected]>2014-11-17 10:21:08 +0000
committerDave Airlie <[email protected]>2014-11-20 01:29:39 +0000
commitaeb24cc0a31646eb9233a05834440fdf16a713bd (patch)
tree6cb85f5f0fbd6804c72744cf6219ce1057dc5d9a /drivers/gpu/drm/omapdrm/omap_plane.c
parentbochs: add page_flip (diff)
downloadkernel-aeb24cc0a31646eb9233a05834440fdf16a713bd.tar.gz
kernel-aeb24cc0a31646eb9233a05834440fdf16a713bd.zip
drm: omapdrm: remove unused variable
Commit f9b9faf6d94dd29eab8c128905c7d091f955481d "drm: flip-work: change drm_flip_work_init prototype" changed the drm_flip_work_init prototype to a void function, which makes 'ret' an unused variable. Signed-off-by: Boris Brezillon <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_plane.c')
-rw-r--r--drivers/gpu/drm/omapdrm/omap_plane.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_plane.c b/drivers/gpu/drm/omapdrm/omap_plane.c
index 0ad740132ac3..ee8e2b3a117e 100644
--- a/drivers/gpu/drm/omapdrm/omap_plane.c
+++ b/drivers/gpu/drm/omapdrm/omap_plane.c
@@ -388,7 +388,6 @@ struct drm_plane *omap_plane_init(struct drm_device *dev,
struct drm_plane *plane = NULL;
struct omap_plane *omap_plane;
struct omap_overlay_info *info;
- int ret;
DBG("%s: priv=%d", plane_names[id], private_plane);