summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Changcheng <chenchangcheng@kylinos.cn>2026-07-22 15:43:15 +0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2026-08-07 15:38:30 -0400
commit874ca6bdde050fde1fcfae9e8d860c95ac959f2a (patch)
tree8b62c4b547c3cbc7c32535efe94d24f04ec8c88b
parenta68f8bdc00e67fbb1763538d0101e2a5467237c0 (diff)
downloadlinux-874ca6bdde050fde1fcfae9e8d860c95ac959f2a.tar.gz
linux-874ca6bdde050fde1fcfae9e8d860c95ac959f2a.zip
Bluetooth: btintel_pcie: Remove unreachable break after goto
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> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
-rw-r--r--drivers/bluetooth/btintel_pcie.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/bluetooth/btintel_pcie.c b/drivers/bluetooth/btintel_pcie.c
index 2e28847263ab..ef42b8d11d4d 100644
--- a/drivers/bluetooth/btintel_pcie.c
+++ b/drivers/bluetooth/btintel_pcie.c
@@ -2425,7 +2425,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;