mirror of
https://github.com/torvalds/linux.git
synced 2026-09-14 16:10:02 +02: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:
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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user