Donny9 commented on code in PR #11008:
URL: https://github.com/apache/nuttx/pull/11008#discussion_r1519621769


##########
drivers/video/video.c:
##########
@@ -3488,7 +3494,16 @@ int video_register(FAR const char *devpath,
 
 int video_unregister(FAR const char *devpath)
 {
-  return unregister_driver(devpath);
+  int ret;
+  struct stat buf;
+
+  ret = nx_stat(devpath, &buf, 1);

Review Comment:
   @SPRESENSE please refs to https://github.com/apache/nuttx/pull/11892



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to