summaryrefslogtreecommitdiffstats
path: root/drivers/staging/omapdrm
diff options
context:
space:
mode:
authorYAMANE Toshiaki2012-11-14 11:30:23 +0100
committerGreg Kroah-Hartman2012-11-15 01:31:03 +0100
commitd21a9d3ba52ae07662cc7832009b1502eda41072 (patch)
treef6cf600018daf8d26bc78b9d1893a806cc283882 /drivers/staging/omapdrm
parentstaging/omapdrm: remove the unnecessary initialization of a local variable in... (diff)
downloadkernel-qcow2-linux-d21a9d3ba52ae07662cc7832009b1502eda41072.tar.gz
kernel-qcow2-linux-d21a9d3ba52ae07662cc7832009b1502eda41072.tar.xz
kernel-qcow2-linux-d21a9d3ba52ae07662cc7832009b1502eda41072.zip
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>
Diffstat (limited to 'drivers/staging/omapdrm')
-rw-r--r--drivers/staging/omapdrm/omap_crtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/omapdrm/omap_crtc.c b/drivers/staging/omapdrm/omap_crtc.c
index cbda7e027338..d87bd84257bd 100644
--- a/drivers/staging/omapdrm/omap_crtc.c
+++ b/drivers/staging/omapdrm/omap_crtc.c
@@ -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;
}