summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/rcar-du
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2015-03-06 00:46:22 +0300
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2015-03-19 13:00:21 +0300
commit3515a9a20abc9248beadea0af468f753d67a9965 (patch)
treed372e69a4e85f06ab8ba812679dd90b69c3d2102 /drivers/gpu/drm/rcar-du
parentde115fac7388264f6f1865a12ea6e4101bd05c48 (diff)
downloadlinux-3515a9a20abc9248beadea0af468f753d67a9965.tar.xz
drm: rcar-du: Don't initialize event->pipe field
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>
Diffstat (limited to 'drivers/gpu/drm/rcar-du')
-rw-r--r--drivers/gpu/drm/rcar-du/rcar_du_crtc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/rcar-du/rcar_du_crtc.c b/drivers/gpu/drm/rcar-du/rcar_du_crtc.c
index 9e72133bb64b..7d0b8ef9bea2 100644
--- a/drivers/gpu/drm/rcar-du/rcar_du_crtc.c
+++ b/drivers/gpu/drm/rcar-du/rcar_du_crtc.c
@@ -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);