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>
This commit is contained in:
Grzegorz Swirski 2014-09-02 20:24:04 +01:00 committed by Greg Kroah-Hartman
parent d8b0e4230f
commit 220f115e5e

View 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));