* [PATCH] Bluetooth: hcli_ldisc: Remove reduntant braces
@ 2026-07-30 11:25 oshada imalka
2026-07-31 18:50 ` patchwork-bot+bluetooth
0 siblings, 1 reply; 2+ messages in thread
From: oshada imalka @ 2026-07-30 11:25 UTC (permalink / raw)
To: marcel, luiz.dentz; +Cc: linux-bluetooth, linux-kernel, oshada imalka
Removed a redundant braces for a single if statement
Signed-off-by: Oshada Imalka <developerimalka@gmail.com>
---
drivers/bluetooth/hci_ldisc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/bluetooth/hci_ldisc.c b/drivers/bluetooth/hci_ldisc.c
index 2ad42c3bbaac..e7de8a278edd 100644
--- a/drivers/bluetooth/hci_ldisc.c
+++ b/drivers/bluetooth/hci_ldisc.c
@@ -756,9 +756,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);
--
2.53.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Bluetooth: hcli_ldisc: Remove reduntant braces
2026-07-30 11:25 [PATCH] Bluetooth: hcli_ldisc: Remove reduntant braces oshada imalka
@ 2026-07-31 18:50 ` patchwork-bot+bluetooth
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+bluetooth @ 2026-07-31 18:50 UTC (permalink / raw)
To: oshada imalka; +Cc: marcel, luiz.dentz, linux-bluetooth, linux-kernel
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:
On Thu, 30 Jul 2026 16:55:09 +0530 you wrote:
> Removed a redundant braces for a single if statement
>
> Signed-off-by: Oshada Imalka <developerimalka@gmail.com>
> ---
> drivers/bluetooth/hci_ldisc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Here is the summary with links:
- Bluetooth: hcli_ldisc: Remove reduntant braces
https://git.kernel.org/bluetooth/bluetooth-next/c/e4ab19c7b7c6
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-07-31 18:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-30 11:25 [PATCH] Bluetooth: hcli_ldisc: Remove reduntant braces oshada imalka
2026-07-31 18:50 ` patchwork-bot+bluetooth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox