summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2024-05-13 22:27:33 +0200
committerHiFiPhile <[email protected]>2024-05-13 22:27:33 +0200
commitad734e658cc9e39021a93fc21e077f1b1709c0ff (patch)
tree35f8e62e697d4044ff25f1a037009c58758085ad /src
parente250b82377aa9c1433c6235501c72dd079544c75 (diff)
Remove dead code.
Diffstat (limited to 'src')
-rw-r--r--src/portable/synopsys/dwc2/dcd_dwc2.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/portable/synopsys/dwc2/dcd_dwc2.c b/src/portable/synopsys/dwc2/dcd_dwc2.c
index fd2f08453..dbcd586c5 100644
--- a/src/portable/synopsys/dwc2/dcd_dwc2.c
+++ b/src/portable/synopsys/dwc2/dcd_dwc2.c
@@ -1207,10 +1207,6 @@ bool dcd_check_test_mode_support(test_mode_t test_selector) {
}
void dcd_enter_test_mode(uint8_t rhport, test_mode_t test_selector) {
- // Disable test mode if not supported as a fall back
- if (!dcd_check_test_mode_support(test_selector)) {
- test_selector = 0;
- }
// Get port address...
dwc2_regs_t* dwc2 = DWC2_REG(rhport);