diff options
| author | IngHK <[email protected]> | 2024-03-30 14:49:00 +0100 |
|---|---|---|
| committer | IngHK <[email protected]> | 2024-03-31 10:27:00 +0200 |
| commit | 0bb26c97c316cbf3dc0b6e70234c958cf361da73 (patch) | |
| tree | a567012f852b5cfa7b83187c599f7d6345e6cc78 | |
| parent | 009d85722bbfae41f057cfbb69c63716a5fb2c5f (diff) | |
removed redundant return true;
| -rw-r--r-- | src/portable/analog/max3421/hcd_max3421.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/portable/analog/max3421/hcd_max3421.c b/src/portable/analog/max3421/hcd_max3421.c index 2b3c625dc..335d78481 100644 --- a/src/portable/analog/max3421/hcd_max3421.c +++ b/src/portable/analog/max3421/hcd_max3421.c @@ -679,8 +679,6 @@ bool hcd_edpt_xfer(uint8_t rhport, uint8_t daddr, uint8_t ep_addr, uint8_t * buf // carry out transfer if not busy if ( !atomic_flag_test_and_set(&_hcd_data.busy) ) { xact_inout(rhport, ep, true, false); - } else { - return true; } return true; |
