Browse Source

staging/omapdrm: Fix spacing coding style in omap_plane.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 12 years ago
parent
commit
373de7f4f7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/staging/omapdrm/omap_plane.c

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

@@ -551,8 +551,8 @@ struct drm_plane *omap_plane_init(struct drm_device *dev,
 	return plane;
 
 fail:
-	if (plane) {
+	if (plane)
 		omap_plane_destroy(plane);
-	}
+
 	return NULL;
 }