summaryrefslogtreecommitdiff
path: root/src/class/hid
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-12-11 23:57:53 +0700
committerhathach <[email protected]>2018-12-12 00:00:33 +0700
commit67d6d753d66ffb821e9cfc4831d44f6b2f8549b8 (patch)
tree0e2a659601fd86f8079f25b1326408307638006a /src/class/hid
parentc94df5150308e451baccae2857525d50fe1df232 (diff)
replace all hcd pipe close by hcd_device_remove
Diffstat (limited to 'src/class/hid')
-rw-r--r--src/class/hid/hid_host.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/class/hid/hid_host.c b/src/class/hid/hid_host.c
index aa93f7837..1e44055ec 100644
--- a/src/class/hid/hid_host.c
+++ b/src/class/hid/hid_host.c
@@ -67,7 +67,6 @@ static inline bool hidh_interface_open(uint8_t dev_addr, uint8_t interface_numbe
static inline void hidh_interface_close(hidh_interface_info_t *p_hid)
{
- (void) hcd_pipe_close(p_hid->pipe_hdl);
tu_memclr(p_hid, sizeof(hidh_interface_info_t));
}