Skip to content

Commit

Permalink
staging/omapdrm: Fix spacing coding style in omap_gem_helper.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 b1ca079 commit 4a19313
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/omapdrm/omap_gem_helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ struct page **_drm_gem_get_pages(struct drm_gem_object *obj, gfp_t gfpmask)
return pages;

fail:
while (i--) {
while (i--)
page_cache_release(pages[i]);
}

drm_free_large(pages);
return ERR_CAST(p);
}
Expand Down

0 comments on commit 4a19313

Please sign in to comment.