summaryrefslogtreecommitdiff
path: root/class
diff options
context:
space:
mode:
authorsakimisu <[email protected]>2022-11-21 21:59:37 +0800
committersakimisu <[email protected]>2022-11-21 21:59:37 +0800
commit61e82e0eebe0d96a39e74576c5b3f9520144ac8e (patch)
tree80493b7d19fb87a48d4f84f048d70eb986133310 /class
parent9291c1459cc8d79d753fd8fc5fcc96d6a64907b3 (diff)
remove device mount and unmount callback
Diffstat (limited to 'class')
-rw-r--r--class/hub/usbh_hub.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/class/hub/usbh_hub.c b/class/hub/usbh_hub.c
index b6211217..d4dc216c 100644
--- a/class/hub/usbh_hub.c
+++ b/class/hub/usbh_hub.c
@@ -511,7 +511,6 @@ static void usbh_hub_events(struct usbh_hub *hub)
}
USB_LOG_INFO("Device on Hub %u, Port %u disconnected\r\n", hub->index, port + 1);
- usbh_device_unmount_done_callback(child);
child->config.config_desc.bNumInterfaces = 0;
}
}