2015-07-05 09:49:27

by Mutharaju, Prasanna (P.)

[permalink] [raw]
Subject: [PATCH] Bluetooth:bfusb: Coding style fix reported by coccinelle

From: Prasanna Karthik <[email protected]>

Removed semicolon at the end of switch case statement

Signed-off-by: Prasanna Karthik <[email protected]>
---
drivers/bluetooth/bfusb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/bluetooth/bfusb.c b/drivers/bluetooth/bfusb.c
index fcfb72e..a5c4d05 100644
--- a/drivers/bluetooth/bfusb.c
+++ b/drivers/bluetooth/bfusb.c
@@ -492,7 +492,7 @@ static int bfusb_send_frame(struct hci_dev *hdev, struc=
t 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.9.5


2015-07-05 13:13:32

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [PATCH] Bluetooth:bfusb: Coding style fix reported by coccinelle

Hi Prasanna,

> Removed semicolon at the end of switch case statement
>
> Signed-off-by: Prasanna Karthik <[email protected]>
> ---
> drivers/bluetooth/bfusb.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel