]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging/omapdrm: Fix spacing coding style in omap_plane.c
authorYAMANE Toshiaki <yamanetoshi@gmail.com>
Wed, 14 Nov 2012 10:40:57 +0000 (19:40 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Nov 2012 00:31:05 +0000 (16:31 -0800)
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>
drivers/staging/omapdrm/omap_plane.c

index 1b3a9febd40a8bae55523b0747293818469a0464..25d78ca6fdb4718d12a98e23f588f463090aaf7d 100644 (file)
@@ -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;
 }