mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-27 19:53:15 -04:00
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:
committed by
Luiz Augusto von Dentz
parent
33af47e847
commit
eb7e88e359
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user