]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
staging/omapdrm: Fix spacing coding style in omap_crtc.c
authorYAMANE Toshiaki <yamanetoshi@gmail.com>
Wed, 14 Nov 2012 10:30:23 +0000 (19:30 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Nov 2012 00:31:03 +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_crtc.c

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