mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 03:35:32 -04:00
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:
committed by
Luiz Augusto von Dentz
parent
a68f8bdc00
commit
874ca6bdde
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user