diff options
| author | hathach <[email protected]> | 2018-12-12 00:48:53 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-12-12 00:48:53 +0700 |
| commit | c88e16bd116a826ebd2d9fb348fd3704f6b1f14d (patch) | |
| tree | 21530d34defa6dd890de30fcf4ace8ec21c5a49a /src/host | |
| parent | aaf65831d8924ca588f727b1ccc66bfa6fa0db83 (diff) | |
clean up
Diffstat (limited to 'src/host')
| -rw-r--r-- | src/host/ohci/ohci.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/host/ohci/ohci.c b/src/host/ohci/ohci.c index f48a85693..669aa2a15 100644 --- a/src/host/ohci/ohci.c +++ b/src/host/ohci/ohci.c @@ -495,19 +495,6 @@ bool hcd_pipe_xfer(uint8_t dev_addr, uint8_t ep_addr, uint8_t buffer[], uint16_ return true;
}
-/// pipe_close should only be called as a part of unmount/safe-remove process
-// endpoints are tied to an address, which only reclaim after a long delay when enumerating
-// thus there is no need to make sure ED is not in HC's cahed as it will not for sure
-//bool hcd_pipe_close(uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr)
-//{
-// (void) rhport;
-// ohci_ed_t * const p_ed = ed_from_addr(dev_addr, ep_addr);
-//
-// ed_list_remove( p_ed_head[ ed_get_xfer_type(p_ed)], p_ed );
-//
-// return true;
-//}
-
bool hcd_edpt_busy(uint8_t dev_addr, uint8_t ep_addr)
{
ohci_ed_t const * const p_ed = ed_from_addr(dev_addr, ep_addr);
|
