aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_serdev.c
diff options
context:
space:
mode:
authorVaibhav Murkute <vaibhavmurkute88@gmail.com>2018-05-14 14:38:47 -0700
committerMarcel Holtmann <marcel@holtmann.org>2018-05-29 15:59:50 +0200
commit0c0c09ff09bb094bcd496b28b8ac4c8ae5b7a4a8 (patch)
treec076dd73fb2194f606b5507537058f1feef1dc7d /drivers/bluetooth/hci_serdev.c
parentBluetooth: btmrvl: support sysfs initiated firmware coredump (diff)
downloadlinux-dev-0c0c09ff09bb094bcd496b28b8ac4c8ae5b7a4a8.tar.xz
linux-dev-0c0c09ff09bb094bcd496b28b8ac4c8ae5b7a4a8.zip
Bluetooth: hci_serdev: Removed unnecessary curly braces
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>
Diffstat (limited to 'drivers/bluetooth/hci_serdev.c')
-rw-r--r--drivers/bluetooth/hci_serdev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/bluetooth/hci_serdev.c b/drivers/bluetooth/hci_serdev.c
index e0e6461b9200..a0e939856568 100644
--- 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;