Commit 6a44b50f authored by Lucas Tanure's avatar Lucas Tanure Committed by Greg Kroah-Hartman

staging: android: Clean up else statement from sync_fence_poll()

Kernel coding style. Remove useless else statement after return.
Signed-off-by: default avatarLucas Tanure <tanure@linux.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 38064eb1
......@@ -687,8 +687,7 @@ static unsigned int sync_fence_poll(struct file *file, poll_table *wait)
return POLLIN;
else if (fence->status < 0)
return POLLERR;
else
return 0;
return 0;
}
static long sync_fence_ioctl_wait(struct sync_fence *fence, unsigned long arg)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment