[Nouveau] [PATCH] drivers: drm: nouveau: Fix brace coding style error

David Archuleta Jr darchuletajr at gmail.com
Fri Sep 23 00:34:38 UTC 2016


Fixed a coding style issue. Else should follow brace.

Signed-off-by: David Archuleta Jr. <darchuletajr at gmail.com>
---
 drivers/gpu/drm/nouveau/nouveau_display.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display.c
index afbf557..0d39e17 100644
--- a/drivers/gpu/drm/nouveau/nouveau_display.c
+++ b/drivers/gpu/drm/nouveau/nouveau_display.c
@@ -851,8 +851,7 @@ nouveau_finish_page_flip(struct nouveau_channel *chan,
 			/* Give up ownership of vblank for page-flipped crtc */
 			drm_crtc_vblank_put(s->crtc);
 		}
-	}
-	else {
+	} else {
 		/* Give up ownership of vblank for page-flipped crtc */
 		drm_crtc_vblank_put(s->crtc);
 	}
-- 
2.10.0



More information about the Nouveau mailing list