提交 6a44b50f 编写于 作者: L Lucas Tanure 提交者: 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: NLucas Tanure <tanure@linux.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册