Bluetooth: hcli_ldisc: Remove reduntant braces

Removed a redundant braces for a single if statement

Signed-off-by: Oshada Imalka <developerimalka@gmail.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
oshada imalka
2026-07-30 16:55:09 +05:30
committed by Luiz Augusto von Dentz
parent 33af47e847
commit eb7e88e359

View File

@@ -762,9 +762,9 @@ static int hci_uart_set_proto(struct hci_uart *hu, int id)
hu->proto = p;
err = hci_uart_register_dev(hu);
if (err) {
if (err)
return err;
}
set_bit(HCI_UART_PROTO_READY, &hu->flags);
clear_bit(HCI_UART_PROTO_INIT, &hu->flags);