Skip to content

Commit

Permalink
Remove dead code.
Browse files Browse the repository at this point in the history
  • Loading branch information
HiFiPhile committed May 13, 2024
1 parent e250b82 commit ad734e6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/portable/synopsys/dwc2/dcd_dwc2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit ad734e6

Please sign in to comment.