diff options
author | Prasanna Karthik <mkarthi3@visteon.com> | 2015-06-18 13:51:11 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-06-18 16:04:55 +0200 |
commit | aebceccc18bf49f8fb208ac4548b7bd402b6662c (patch) | |
tree | 6acac1e20ef8299e4f78952673f8102f7ee9545f /drivers/bluetooth | |
parent | 960ef1d72f60f1df927768b9818ece6d7d046d64 (diff) | |
download | op-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.c | 3 |
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); |