Commit 0c0c09ff authored by Vaibhav Murkute's avatar Vaibhav Murkute Committed by Marcel Holtmann

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: default avatarVaibhav Murkute <vaibhavmurkute88@gmail.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 45650499
...@@ -204,9 +204,8 @@ static int hci_uart_setup(struct hci_dev *hdev) ...@@ -204,9 +204,8 @@ static int hci_uart_setup(struct hci_dev *hdev)
return 0; return 0;
} }
if (skb->len != sizeof(*ver)) { if (skb->len != sizeof(*ver))
bt_dev_err(hdev, "Event length mismatch for version info"); bt_dev_err(hdev, "Event length mismatch for version info");
}
kfree_skb(skb); kfree_skb(skb);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment