diff options
author | Grzegorz Swirski <grzegorz@swirski.name> | 2014-09-02 20:24:04 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-02 12:28:45 -0700 |
commit | 220f115e5edd2163cac6ba808588051d1dbbd62c (patch) | |
tree | 1c6334afcc003fe3115c1c3f3f63269593b83545 /drivers/staging/android | |
parent | d8b0e4230fc3078314cedf674a664d227cd5c0e1 (diff) |
staging: android: use braces on all arms of if
Signed-off-by: Grzegorz Swirski <grzegorz@swirski.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/android')
-rw-r--r-- | drivers/staging/android/sync.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/android/sync.c b/drivers/staging/android/sync.c index 0d374952a494..c5255dc50691 100644 --- a/drivers/staging/android/sync.c +++ b/drivers/staging/android/sync.c @@ -387,9 +387,9 @@ int sync_fence_wait(struct sync_fence *fence, long timeout) timeout); trace_sync_wait(fence, 0); - if (ret < 0) + if (ret < 0) { return ret; - else if (ret == 0) { + } else if (ret == 0) { if (timeout) { pr_info("fence timeout on [%p] after %dms\n", fence, jiffies_to_msecs(timeout)); |