Bluetooth: bt3c_cs: Fix coding style -- clean up
authorPrasanna Karthik <mkarthi3@visteon.com>
Thu, 18 Jun 2015 13:51:11 +0000 (13:51 +0000)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 18 Jun 2015 14:04:55 +0000 (16:04 +0200)
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>
drivers/bluetooth/bt3c_cs.c

index 6de97b3871b0f8cffe4d2c9b2b78eb5e87c48247..7aab65427d388fc4c653223915ab033904032758 100644 (file)
@@ -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);