projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72b93c7
)
drivers: android: Remove braces for a single statement if-else block
author
Mrinal Pandey
<mrinalmni@gmail.com>
Fri, 24 Jul 2020 13:14:03 +0000
(18:44 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 29 Jul 2020 15:05:38 +0000
(17:05 +0200)
Remove braces for both if and else block as suggested by checkpatch.
Signed-off-by: Mrinal Pandey <mrinalmni@gmail.com>
Link:
https://lore.kernel.org/r/20200724131403.dahfhdwa3wirzkxj@mrinalpandey
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder.c
patch
|
blob
|
history
diff --git
a/drivers/android/binder.c
b/drivers/android/binder.c
index
2123655
..
f936530
100644
(file)
--- a/
drivers/android/binder.c
+++ b/
drivers/android/binder.c
@@
-2759,11
+2759,10
@@
static bool binder_proc_transaction(struct binder_transaction *t,
binder_node_lock(node);
if (oneway) {
BUG_ON(thread);
- if (node->has_async_transaction)
{
+ if (node->has_async_transaction)
pending_async = true;
- } else {
+ else
node->has_async_transaction = true;
- }
}
binder_inner_proc_lock(proc);