projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
960ef1d
)
Bluetooth: bt3c_cs: Fix coding style -- clean up
author
Prasanna Karthik
<mkarthi3@visteon.com>
Thu, 18 Jun 2015 13:51:11 +0000
(13:51 +0000)
committer
Marcel 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/bluetooth/bt3c_cs.c
b/drivers/bluetooth/bt3c_cs.c
index 6de97b3871b0f8cffe4d2c9b2b78eb5e87c48247..7aab65427d388fc4c653223915ab033904032758 100644
(file)
--- 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);