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
1 changed files with 1 additions and 2 deletions
|
@ -687,8 +687,7 @@ static unsigned int sync_fence_poll(struct file *file, poll_table *wait)
|
||||||
return POLLIN;
|
return POLLIN;
|
||||||
else if (fence->status < 0)
|
else if (fence->status < 0)
|
||||||
return POLLERR;
|
return POLLERR;
|
||||||
else
|
return 0;
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static long sync_fence_ioctl_wait(struct sync_fence *fence, unsigned long arg)
|
static long sync_fence_ioctl_wait(struct sync_fence *fence, unsigned long arg)
|
||||||
|
|
Loading…
Add table
Reference in a new issue