From 220f115e5edd2163cac6ba808588051d1dbbd62c Mon Sep 17 00:00:00 2001 From: Grzegorz Swirski Date: Tue, 2 Sep 2014 20:24:04 +0100 Subject: [PATCH] staging: android: use braces on all arms of if Signed-off-by: Grzegorz Swirski Signed-off-by: Greg Kroah-Hartman --- drivers/staging/android/sync.c | 4 ++-- 1 file 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)); -- 2.30.2