* [PATCH] Bluetooth: btintel_pcie: Remove unreachable break after goto
@ 2026-07-22 7:43 Chen Changcheng
2026-07-24 19:00 ` patchwork-bot+bluetooth
0 siblings, 1 reply; 2+ messages in thread
From: Chen Changcheng @ 2026-07-22 7:43 UTC (permalink / raw)
To: marcel, luiz.dentz
Cc: linux-bluetooth, linux-kernel, ccc194101, Chen Changcheng
In the switch-case block for hardware variant detection, the
default case has an unreachable 'break' statement following
'goto exit_error'. Remove the dead code.
Signed-off-by: Chen Changcheng <chenchangcheng@kylinos.cn>
---
drivers/bluetooth/btintel_pcie.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/bluetooth/btintel_pcie.c b/drivers/bluetooth/btintel_pcie.c
index 2b7231be5973..50929e3e50f4 100644
--- a/drivers/bluetooth/btintel_pcie.c
+++ b/drivers/bluetooth/btintel_pcie.c
@@ -2363,7 +2363,6 @@ static int btintel_pcie_setup_internal(struct hci_dev *hdev)
INTEL_HW_VARIANT(ver_tlv.cnvi_bt));
err = -EINVAL;
goto exit_error;
- break;
}
data->dmp_hdr.cnvi_top = ver_tlv.cnvi_top;
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Bluetooth: btintel_pcie: Remove unreachable break after goto
2026-07-22 7:43 [PATCH] Bluetooth: btintel_pcie: Remove unreachable break after goto Chen Changcheng
@ 2026-07-24 19:00 ` patchwork-bot+bluetooth
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+bluetooth @ 2026-07-24 19:00 UTC (permalink / raw)
To: Chen Changcheng
Cc: marcel, luiz.dentz, linux-bluetooth, linux-kernel, ccc194101
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:
On Wed, 22 Jul 2026 15:43:15 +0800 you wrote:
> In the switch-case block for hardware variant detection, the
> default case has an unreachable 'break' statement following
> 'goto exit_error'. Remove the dead code.
>
> Signed-off-by: Chen Changcheng <chenchangcheng@kylinos.cn>
> ---
> drivers/bluetooth/btintel_pcie.c | 1 -
> 1 file changed, 1 deletion(-)
Here is the summary with links:
- Bluetooth: btintel_pcie: Remove unreachable break after goto
https://git.kernel.org/bluetooth/bluetooth-next/c/10b4f44f2dbe
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-24 19:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-22 7:43 [PATCH] Bluetooth: btintel_pcie: Remove unreachable break after goto Chen Changcheng
2026-07-24 19:00 ` 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