summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
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 /drivers/bluetooth
parent960ef1d72f60f1df927768b9818ece6d7d046d64 (diff)
downloadop-kernel-dev-aebceccc18bf49f8fb208ac4548b7bd402b6662c.zip
op-kernel-dev-aebceccc18bf49f8fb208ac4548b7bd402b6662c.tar.gz
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 6de97b3..7aab654 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);
OpenPOWER on IntegriCloud