Skip to content

Commit 0c0c09f

Browse files
vaibhavmurkuteholtmann
authored andcommitted
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>
1 parent 4565049 commit 0c0c09f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎drivers/bluetooth/hci_serdev.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,8 @@ static int hci_uart_setup(struct hci_dev *hdev)
204204
return 0;
205205
}
206206

207-
if (skb->len != sizeof(*ver)) {
207+
if (skb->len != sizeof(*ver))
208208
bt_dev_err(hdev, "Event length mismatch for version info");
209-
}
210209

211210
kfree_skb(skb);
212211
return 0;

0 commit comments

Comments
 (0)