From: Lucas Tanure Date: Tue, 15 Jul 2014 03:32:35 +0000 (-0300) Subject: staging: android: Clean up else statement from sync_fence_poll() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6a44b50f9819571c2b871bffba107defec556a87;p=linux-beck.git staging: android: Clean up else statement from sync_fence_poll() Kernel coding style. Remove useless else statement after return. Signed-off-by: Lucas Tanure Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/android/sync.c b/drivers/staging/android/sync.c index 18174f7c871c..cd7b8f59b948 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)