2015-06-19 08:46:15

by Mutharaju, Prasanna (P.)

[permalink] [raw]
Subject: [PATCH] Bluetooth: dtl1_cs: Fix coding style -- clean up

From: Prasanna Karthik <[email protected]>

Braces {} are not necessary for single statement blocks reported by
checkpatch

Signed-off-by: Prasanna Karthik <[email protected]>
---
drivers/bluetooth/dtl1_cs.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/bluetooth/dtl1_cs.c b/drivers/bluetooth/dtl1_cs.c
index 78e10f0..01a967f 100644
--- a/drivers/bluetooth/dtl1_cs.c
+++ b/drivers/bluetooth/dtl1_cs.c
@@ -182,9 +182,9 @@ static void dtl1_control(struct dtl1_info *info, struct=
sk_buff *skb)
int i;
=20
printk(KERN_INFO "Bluetooth: Nokia control data =3D");
- for (i =3D 0; i < skb->len; i++) {
+ for (i =3D 0; i < skb->len; i++)
printk(" %02x", skb->data[i]);
- }
+
printk("\n");
=20
/* transition to active state */
--=20
1.7.0.4


2015-06-19 09:20:35

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [PATCH] Bluetooth: dtl1_cs: Fix coding style -- clean up

Hi Prasanna,

> Braces {} are not necessary for single statement blocks reported by
> checkpatch
>
> Signed-off-by: Prasanna Karthik <[email protected]>
> ---
> drivers/bluetooth/dtl1_cs.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel