staging/omapdrm: Fix spacing coding style in omap_gem_helper.c
authorYAMANE Toshiaki <yamanetoshi@gmail.com>
Wed, 14 Nov 2012 10:40:43 +0000 (19:40 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Nov 2012 00:31:04 +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_gem_helpers.c

index 1b54110..ffb8cce 100644 (file)
@@ -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);
 }