From: Boris BREZILLON Date: Mon, 17 Nov 2014 10:21:08 +0000 (+0100) Subject: drm: omapdrm: remove unused variable X-Git-Tag: MMI-PSA29.97-13-9~10979^2~50 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aeb24cc0a31646eb9233a05834440fdf16a713bd;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Dave Airlie --- 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);