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 1b5411047531b7d38e1b1b644984e6d2125b36bd..ffb8cceaeb465d0c3d3d4ba60606328a353ba152 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);
 }
This page took 0.02628 seconds and 5 git commands to generate.