2015-07-06 05:40:16

by Mutharaju, Prasanna (P.)

[permalink] [raw]
Subject: [PATCH] Bluetooth: bt3c_cs.c: Fix coding style

From: Prasanna Karthik <[email protected]>

Remove semicolon in switch statement, reported by coccinelle

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

diff --git a/drivers/bluetooth/bt3c_cs.c b/drivers/bluetooth/bt3c_cs.c
index 7aab654..a00bb82 100644
--- a/drivers/bluetooth/bt3c_cs.c
+++ b/drivers/bluetooth/bt3c_cs.c
@@ -427,7 +427,7 @@ static int bt3c_hci_send_frame(struct hci_dev *hdev, st=
ruct sk_buff *skb)
case HCI_SCODATA_PKT:
hdev->stat.sco_tx++;
break;
- };
+ }
=20
/* Prepend skb with frame type */
memcpy(skb_push(skb, 1), &bt_cb(skb)->pkt_type, 1);
--=20
1.7.0.4


2015-07-06 07:56:31

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [PATCH] Bluetooth: bt3c_cs.c: Fix coding style

Hi Prasanna,

> Remove semicolon in switch statement, reported by coccinelle
>
> Signed-off-by: Prasanna Karthik <[email protected]>
> ---
> drivers/bluetooth/bt3c_cs.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel