diff options
author | Prasanna Karthik <mkarthi3@visteon.com> | 2015-06-18 15:51:11 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-06-18 16:04:55 +0200 |
commit | aebceccc18bf49f8fb208ac4548b7bd402b6662c (patch) | |
tree | 6acac1e20ef8299e4f78952673f8102f7ee9545f /drivers | |
parent | Bluetooth: hci_uart: Fix speed selection (diff) | |
download | linux-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')
-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 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); |