summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrasanna Karthik <mkarthi3@visteon.com>2015-06-18 13:51:11 +0000
committerMarcel Holtmann <marcel@holtmann.org>2015-06-18 16:04:55 +0200
commitaebceccc18bf49f8fb208ac4548b7bd402b6662c (patch)
tree6acac1e20ef8299e4f78952673f8102f7ee9545f
parent960ef1d72f60f1df927768b9818ece6d7d046d64 (diff)
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>
-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);