Skip to contentSkip to conversation

Bluetooth: hcli_ldisc: Remove reduntant braces

PATCH Applied oshada imalka 3 participants 3 messages Jul 30 – Jul 31 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Bluetooth: hcli_ldisc: Remove reduntant braces

Removed a redundant braces for a single if statement

---
 drivers/bluetooth/hci_ldisc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/bluetooth/hci_ldisc.c +2 -2
index 2ad42c3bbaac..e7de8a278edd 100644
@@ -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);
Signature · 1 line
2.53.0
#1 lore raw

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=1137356

---Test result---

Test Summary:

CheckPatch                    FAIL      0.62 seconds
VerifyFixes                   PASS      0.11 seconds
VerifySignedoff               PASS      0.11 seconds
GitLint                       PASS      0.31 seconds
SubjectPrefix                 PASS      0.11 seconds
BuildKernel                   PASS      23.57 seconds
CheckAllWarning               PASS      26.37 seconds
CheckSparse                   PASS      25.28 seconds
BuildKernel32                 PASS      23.34 seconds
CheckKernelLLVM               SKIP      0.00 seconds
TestRunnerSetup               PASS      430.03 seconds
IncrementalBuild              PASS      22.64 seconds

Details
##############################
Test: CheckPatch - FAIL
Desc: Run checkpatch.pl script
Output:
Bluetooth: hcli_ldisc: Remove reduntant braces
WARNING: From:/Signed-off-by: email name mismatch: 'From: oshada imalka <[email protected]>' != 'Signed-off-by: Oshada Imalka <[email protected]>'

total: 0 errors, 1 warnings, 11 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
mechanically convert to the typical style using --fix or --fix-inplace.

/github/workspace/src/patch/14720666.patch has style problems, please review.

NOTE: Ignored message types: UNKNOWN_COMMIT_ID

NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.

##############################
Test: CheckKernelLLVM - SKIP
Desc: Build kernel with LLVM + context analysis
Output:
Clang not found

https://github.com/bluez/bluetooth-next/pull/516

---
Regards,
Linux Bluetooth

#2 lore raw
In reply to oshada imalka
This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:

Hello:

This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:

Quoted 6 lines · On Thu, 30 Jul 2026 16:55:09 +0530 you wrote:

Removed a redundant braces for a single if statement

---
 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!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html