drm: omapdrm: remove unused variable
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Mon, 17 Nov 2014 10:21:08 +0000 (11:21 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 20 Nov 2014 01:29:39 +0000 (11:29 +1000)
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 <boris.brezillon@free-electrons.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/omapdrm/omap_plane.c

index 0ad740132ac376c94ae8b063b4caf1243e8287c6..ee8e2b3a117ef59c183bd4cd63075ea565be98c1 100644 (file)
@@ -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);