drm: rcar-du: Fix compilation warning
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 22 Apr 2016 14:54:39 +0000 (17:54 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 22 Apr 2016 16:56:00 +0000 (18:56 +0200)
Commit d63c25e4245a ("drm: rcar-du: Use generic
drm_connector_register_all() helper") left an unused local variable
behind. Remove it.

Fixes: d63c25e4245a ("drm: rcar-du: Use generic drm_connector_register_all() helper")
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1461336879-2469-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com
drivers/gpu/drm/rcar-du/rcar_du_drv.c

index 0f251dc11082f22a60b02c28dc3611c3d3209856..fb9242d27883d09dde905891ed0118fe75a95c4e 100644 (file)
@@ -297,7 +297,6 @@ static int rcar_du_probe(struct platform_device *pdev)
 {
        struct device_node *np = pdev->dev.of_node;
        struct rcar_du_device *rcdu;
-       struct drm_connector *connector;
        struct drm_device *ddev;
        struct resource *mem;
        int ret;