Ver Fonte

staging/omapdrm: Fix spacing coding style in omap_crtc.c

The following warning fixed.
- WARNING: braces {} are not necessary for single statement blocks

Signed-off-by: YAMANE Toshiaki <yamanetoshi@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
YAMANE Toshiaki há 13 anos atrás
pai
commit
d21a9d3ba5
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      drivers/staging/omapdrm/omap_crtc.c

+ 2 - 2
drivers/staging/omapdrm/omap_crtc.c

@@ -263,8 +263,8 @@ struct drm_crtc *omap_crtc_init(struct drm_device *dev,
 	return crtc;
 	return crtc;
 
 
 fail:
 fail:
-	if (crtc) {
+	if (crtc)
 		omap_crtc_destroy(crtc);
 		omap_crtc_destroy(crtc);
-	}
+
 	return NULL;
 	return NULL;
 }
 }