do not check if device is closed

This commit is contained in:
sakimisu
2023-02-07 22:54:51 +08:00
parent f99e03c850
commit 3fa3f3e356
2 changed files with 1 additions and 9 deletions

View File

@@ -251,10 +251,6 @@ int usbh_video_close(struct usbh_video *video_class)
USB_LOG_INFO("Close video device\r\n");
if (video_class->is_opened == false) {
return 0;
}
video_class->is_opened = false;
if (video_class->isoin) {