projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38064eb
)
staging: android: Clean up else statement from sync_fence_poll()
author
Lucas Tanure
<tanure@linux.com>
Tue, 15 Jul 2014 03:32:35 +0000
(
00:32
-0300)
committer
Greg 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
patch
|
blob
|
history
diff --git
a/drivers/staging/android/sync.c
b/drivers/staging/android/sync.c
index 18174f7c871c46f0e31fd8e41f235c036323fc67..cd7b8f59b9482d7bdc0d4404be6e6f4b36e11f92 100644
(file)
--- 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)