]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: android: use braces on all arms of if
authorGrzegorz Swirski <grzegorz@swirski.name>
Tue, 2 Sep 2014 19:24:04 +0000 (20:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Sep 2014 19:28:45 +0000 (12:28 -0700)
Signed-off-by: Grzegorz Swirski <grzegorz@swirski.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/sync.c

index 0d374952a494b65e4b8f2eee2e4a8b94bf14b388..c5255dc5069139d232ddf8b5cca040690c10eb79 100644 (file)
@@ -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));