From: Grzegorz Swirski Date: Tue, 2 Sep 2014 19:24:04 +0000 (+0100) Subject: staging: android: use braces on all arms of if X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=220f115e5edd2163cac6ba808588051d1dbbd62c;p=openwrt%2Fstaging%2Fblogic.git staging: android: use braces on all arms of if Signed-off-by: Grzegorz Swirski Signed-off-by: Greg Kroah-Hartman --- 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));