staging: android: Clean up else statement from sync_fence_poll()
authorLucas Tanure <tanure@linux.com>
Tue, 15 Jul 2014 03:32:35 +0000 (00:32 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jul 2014 19:08:13 +0000 (12:08 -0700)
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>
drivers/staging/android/sync.c

index 18174f7c871c46f0e31fd8e41f235c036323fc67..cd7b8f59b9482d7bdc0d4404be6e6f4b36e11f92 100644 (file)
@@ -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)
This page took 0.025665 seconds and 5 git commands to generate.