summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2026-03-06 11:59:20 +0100
committerHiFiPhile <[email protected]>2026-03-06 11:59:20 +0100
commitee6f4f6f2a1f07db7c145551b779ce8cf878c2ac (patch)
tree8eb6f33d098c4129f38c4c81e091ae2b448f1439
parent84f214d33cf4f1cb2c8a6cf485d135ac2347c24b (diff)
cleanup
Signed-off-by: HiFiPhile <[email protected]>
-rw-r--r--src/portable/microchip/samx7x/dcd_samx7x.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/portable/microchip/samx7x/dcd_samx7x.c b/src/portable/microchip/samx7x/dcd_samx7x.c
index 8dd333e0f..9f62781bb 100644
--- a/src/portable/microchip/samx7x/dcd_samx7x.c
+++ b/src/portable/microchip/samx7x/dcd_samx7x.c
@@ -570,9 +570,6 @@ bool dcd_edpt_xfer_fifo(uint8_t rhport, uint8_t ep_addr, tu_fifo_t *ff, uint16_t
const uint8_t dir = tu_edpt_dir(ep_addr);
xfer_ctl_t *xfer = &xfer_status[epnum];
- if (epnum == 0x80) {
- xfer = &xfer_status[EP_MAX];
- }
xfer->buffer = NULL;
xfer->total_len = total_bytes;