drm: rcar-du: Don't initialize event->pipe field
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 5 Mar 2015 21:46:22 +0000 (23:46 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 19 Mar 2015 10:00:21 +0000 (12:00 +0200)
The field is set by drm_send_vblank_event(), there's no need to
preinitialize it.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_crtc.c

index 9e72133bb64b9ca37bb849e370e57dcbc215ab46..7d0b8ef9bea21ca04a7fc678f3913dc1768615fd 100644 (file)
@@ -486,8 +486,6 @@ static void rcar_du_crtc_atomic_begin(struct drm_crtc *crtc)
        unsigned long flags;
 
        if (event) {
-               event->pipe = rcrtc->index;
-
                WARN_ON(drm_crtc_vblank_get(crtc) != 0);
 
                spin_lock_irqsave(&dev->event_lock, flags);