diff --git a/drivers/staging/android/sync.c b/drivers/staging/android/sync.c index 18174f7c871c46f0e31fd8e41f235c036323fc67..cd7b8f59b9482d7bdc0d4404be6e6f4b36e11f92 100644 --- a/drivers/staging/android/sync.c +++ b/drivers/staging/android/sync.c @@ -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)