Browse Source

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>
Prasanna Karthik 10 years ago
parent
commit
aebceccc18
1 changed files with 1 additions and 2 deletions
  1. 1 2
      drivers/bluetooth/bt3c_cs.c

+ 1 - 2
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);