xiaoxiang781216 commented on code in PR #11739:
URL: https://github.com/apache/nuttx/pull/11739#discussion_r1498537947


##########
arch/arm/src/sama5/sam_ohci.c:
##########
@@ -2861,8 +2861,9 @@ static int sam_epfree(struct usbhost_driver_s *drvr, 
usbhost_ep_t ep)
   int ret;
   int ret2;
 
-  DEBUGASSERT(rhport != NULL && eplist != NULL &&
+  DEBUGASSERT(drvr != NULL && eplist != NULL &&
               eplist->ed != NULL && eplist->tail != NULL);
+  UNUSED(rhport);

Review Comment:
   remove this, and line 2858



##########
fs/hostfs/hostfs.c:
##########
@@ -590,6 +593,7 @@ static int hostfs_ioctl(FAR struct file *filep, int cmd, 
unsigned long arg)
   fs    = inode->i_private;
 
   DEBUGASSERT(fs != NULL);
+  UNUSED(fs);

Review Comment:
   I mean remove ALL `DEBUGASSERT(fs != NULL);` and `FAR struct 
hostfs_mountpt_s *fs;` from this file



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to