There is no need for brackets when for a single line inside the 'if' block, so remove the unneeded brackets. Signed-off-by: Fabio Estevam <festevam@xxxxxxxxx> --- drivers/gpu/drm/mxsfb/mxsfb_crtc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/mxsfb/mxsfb_crtc.c b/drivers/gpu/drm/mxsfb/mxsfb_crtc.c index b69ace8bf526..bacd1f2b2fb3 100644 --- a/drivers/gpu/drm/mxsfb/mxsfb_crtc.c +++ b/drivers/gpu/drm/mxsfb/mxsfb_crtc.c @@ -326,11 +326,10 @@ void mxsfb_plane_atomic_update(struct mxsfb_drm_private *mxsfb, if (event) { crtc->state->event = NULL; - if (drm_crtc_vblank_get(crtc) == 0) { + if (drm_crtc_vblank_get(crtc) == 0) drm_crtc_arm_vblank_event(crtc, event); - } else { + else drm_crtc_send_vblank_event(crtc, event); - } } spin_unlock_irq(&crtc->dev->event_lock); -- 2.17.1 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel