mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 06:31:52 +00:00
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:
parent
45650499ee
commit
0c0c09ff09
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user