Skip to content

Commit

Permalink
staging/omapdrm: Fix spacing coding style in omap_crtc.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
YAMANE Toshiaki authored and Greg Kroah-Hartman committed Nov 15, 2012
1 parent bd690de commit d21a9d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/omapdrm/omap_crtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit d21a9d3

Please sign in to comment.