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>
This commit is contained in:
Chen Changcheng
2026-07-22 15:43:15 +08:00
committed by Luiz Augusto von Dentz
parent a68f8bdc00
commit 874ca6bdde

View File

@@ -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;