staging: android: Clean up else statement from sync_fence_poll()
Kernel coding style. Remove useless else statement after return. Signed-off-by: Lucas Tanure <tanure@linux.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
38064eb1a4
commit
6a44b50f98
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue