Skip to contentSkip to conversation

Bluetooth: dtl1_cs: Fix coding style -- clean up

PATCH Superseded Mutharaju, Prasanna (P.) 2 participants 2 messages Jun 19, 2015 Bluetooth drivers

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Bluetooth: dtl1_cs: Fix coding style -- clean up

From: Prasanna Karthik <[email protected]>

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

---
 drivers/bluetooth/dtl1_cs.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/bluetooth/dtl1_cs.c +0 -0
index 78e10f0..01a967f 100644
@@ -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

maintainer
#1 lore raw

Hi Prasanna,

Quoted 7 lines

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

---
drivers/bluetooth/dtl1_cs.c | 4 ++--

1 files changed, 2 insertions(+), 2 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel