Skip to content

Commit

Permalink
staging/omapdrm: Fix spacing coding style in omap_plane.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 4a19313 commit 373de7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/omapdrm/omap_plane.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 373de7f

Please sign in to comment.