Skip to contentSkip to conversation

Bluetooth: bt3c_cs: Fix coding style -- clean up

PATCH In review Mutharaju, Prasanna (P.) 2 participants 2 messages Jun 18, 2015 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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

From: Prasanna Karthik <[email protected]>

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

---
 drivers/bluetooth/bt3c_cs.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/bluetooth/bt3c_cs.c +0 -0
index 6de97b3..3c18233 100644
@@ -202,9 +202,8 @@ static void bt3c_write_wakeup(struct bt3c_info *info)
 		/* Send frame */
 		len =3D bt3c_write(iobase, 256, skb->data, skb->len);

=20
- if (len !=3D skb->len) {
+ if (len !=3D skb->len)
BT_ERR("Very strange");
- }
=20
kfree_skb(skb);
=20
--=20
1.7.0.4

maintainer
#1 lore raw

Hi Prasanna,

Quoted 7 lines

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

---
drivers/bluetooth/bt3c_cs.c | 3 +--

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

patch has been applied to bluetooth-next tree.

Regards

Marcel