diff options
| author | Chen Changcheng <chenchangcheng@kylinos.cn> | 2026-07-22 15:43:15 +0800 |
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2026-07-23 16:53:51 -0400 |
| commit | 10b4f44f2dbe9251c9c824711ebfb8392d99eefd (patch) | |
| tree | ec284a2cc215262fba6c636d2a581d34bd19806e | |
| parent | 6f55ad8fb0acd861e5c4e526b2272fc71952e1e3 (diff) | |
| download | linux-next-10b4f44f2dbe9251c9c824711ebfb8392d99eefd.tar.gz linux-next-10b4f44f2dbe9251c9c824711ebfb8392d99eefd.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.c | 1 |
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; |
