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>
This commit is contained in:
Vaibhav Murkute 2018-05-14 14:38:47 -07:00 committed by Marcel Holtmann
parent 45650499ee
commit 0c0c09ff09

View file

@ -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;