diff options
author | YAMANE Toshiaki <yamanetoshi@gmail.com> | 2012-11-14 19:31:09 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-14 16:31:03 -0800 |
commit | bc1e1581763de164c79e76669f754b3608680153 (patch) | |
tree | 355875856c2fc8c787681e7fb055cf2047a3e01d /drivers/staging/omapdrm | |
parent | 7ced63cf7ecfa572d7890a2112997dd75837d153 (diff) | |
download | blackbird-op-linux-bc1e1581763de164c79e76669f754b3608680153.tar.gz blackbird-op-linux-bc1e1581763de164c79e76669f754b3608680153.zip |
staging/omapdrm: Fix spacing coding style in omap_drv.h
The following warnings 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>
Diffstat (limited to 'drivers/staging/omapdrm')
-rw-r--r-- | drivers/staging/omapdrm/omap_drv.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/omapdrm/omap_drv.h b/drivers/staging/omapdrm/omap_drv.h index 8f41098fd843..1d4aea53b75d 100644 --- a/drivers/staging/omapdrm/omap_drv.h +++ b/drivers/staging/omapdrm/omap_drv.h @@ -218,17 +218,17 @@ static inline int objects_lookup(struct drm_device *dev, for (i = 0; i < n; i++) { bos[i] = drm_gem_object_lookup(dev, filp, handles[i]); - if (!bos[i]) { + if (!bos[i]) goto fail; - } + } return 0; fail: - while (--i > 0) { + while (--i > 0) drm_gem_object_unreference_unlocked(bos[i]); - } + return -ENOENT; } |