mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2/2] drivers: android: binder: fixed a brace coding style issue
@ 2018-03-10  7:46 Vaibhav Murkute
  2018-03-12 10:21 ` Dan Carpenter
  0 siblings, 1 reply; 2+ messages in thread
From: Vaibhav Murkute @ 2018-03-10  7:46 UTC (permalink / raw)
  To: gregkh, arve, tkjos, maco; +Cc: devel, linux-kernel, Vaibhav Murkute

Fixed a coding style issue.

Signed-off-by: Vaibhav Murkute <vaibhavmurkute88@gmail.com>
---
 drivers/android/binder.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/android/binder.c b/drivers/android/binder.c
index 764b63a5aade..2729bb75ca19 100644
--- a/drivers/android/binder.c
+++ b/drivers/android/binder.c
@@ -2641,11 +2641,11 @@ 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);
-- 
2.15.1

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 2/2] drivers: android: binder: fixed a brace coding style issue
  2018-03-10  7:46 [PATCH 2/2] drivers: android: binder: fixed a brace coding style issue Vaibhav Murkute
@ 2018-03-12 10:21 ` Dan Carpenter
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Carpenter @ 2018-03-12 10:21 UTC (permalink / raw)
  To: Vaibhav Murkute; +Cc: devel, tkjos, gregkh, linux-kernel, arve, maco

On Sat, Mar 10, 2018 at 01:16:58PM +0530, Vaibhav Murkute wrote:
> Fixed a coding style issue.
> 

This commit log is not the greatest.  Say something like "The curly
braces aren't needed and checkpatch.pl complains so I removed them."

Where is [PATCH 1/2]?

regards,
dan carpenter

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-12 10:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-10  7:46 [PATCH 2/2] drivers: android: binder: fixed a brace coding style issue Vaibhav Murkute
2018-03-12 10:21 ` Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®