summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorPrasanna Karthik <mkarthi3@visteon.com>2015-06-18 15:51:11 +0200
committerMarcel Holtmann <marcel@holtmann.org>2015-06-18 16:04:55 +0200
commitaebceccc18bf49f8fb208ac4548b7bd402b6662c (patch)
tree6acac1e20ef8299e4f78952673f8102f7ee9545f /drivers/bluetooth
parentBluetooth: hci_uart: Fix speed selection (diff)
downloadlinux-aebceccc18bf49f8fb208ac4548b7bd402b6662c.tar.xz
linux-aebceccc18bf49f8fb208ac4548b7bd402b6662c.zip
Bluetooth: bt3c_cs: Fix coding style -- clean up
Fix for braces {} are not necessary for single statement blocks reported by checkpatch Signed-off-by: Prasanna Karthik <mkarthi3@visteon.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r--drivers/bluetooth/bt3c_cs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/bluetooth/bt3c_cs.c b/drivers/bluetooth/bt3c_cs.c
index 6de97b3871b0..7aab65427d38 100644
--- a/drivers/bluetooth/bt3c_cs.c
+++ b/drivers/bluetooth/bt3c_cs.c
@@ -202,9 +202,8 @@ static void bt3c_write_wakeup(struct bt3c_info *info)
/* Send frame */
len = bt3c_write(iobase, 256, skb->data, skb->len);
- if (len != skb->len) {
+ if (len != skb->len)
BT_ERR("Very strange");
- }
kfree_skb(skb);