projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4565049
)
Bluetooth: hci_serdev: Removed unnecessary curly braces
author
Vaibhav Murkute
<vaibhavmurkute88@gmail.com>
Mon, 14 May 2018 21:38:47 +0000
(14:38 -0700)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 29 May 2018 13:59:50 +0000
(15:59 +0200)
checkpatch.pl shows a warning for these unnecessary curly braces.
so just removed those curly braces.
Signed-off-by: Vaibhav Murkute <vaibhavmurkute88@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_serdev.c
patch
|
blob
|
history
diff --git
a/drivers/bluetooth/hci_serdev.c
b/drivers/bluetooth/hci_serdev.c
index e0e6461b9200c027f7a04d8e577738f3af967864..a0e939856568f1275108e2f7939868a663e496a1 100644
(file)
--- a/
drivers/bluetooth/hci_serdev.c
+++ b/
drivers/bluetooth/hci_serdev.c
@@
-204,9
+204,8
@@
static int hci_uart_setup(struct hci_dev *hdev)
return 0;
}
- if (skb->len != sizeof(*ver))
{
+ if (skb->len != sizeof(*ver))
bt_dev_err(hdev, "Event length mismatch for version info");
- }
kfree_skb(skb);
return 0;