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:
parent
d8b0e4230f
commit
220f115e5e
|
@ -387,9 +387,9 @@ int sync_fence_wait(struct sync_fence *fence, long timeout)
|
||||||
timeout);
|
timeout);
|
||||||
trace_sync_wait(fence, 0);
|
trace_sync_wait(fence, 0);
|
||||||
|
|
||||||
if (ret < 0)
|
if (ret < 0) {
|
||||||
return ret;
|
return ret;
|
||||||
else if (ret == 0) {
|
} else if (ret == 0) {
|
||||||
if (timeout) {
|
if (timeout) {
|
||||||
pr_info("fence timeout on [%p] after %dms\n", fence,
|
pr_info("fence timeout on [%p] after %dms\n", fence,
|
||||||
jiffies_to_msecs(timeout));
|
jiffies_to_msecs(timeout));
|
||||||
|
|
Loading…
Reference in a new issue