CV-Bowen commented on code in PR #7207:
URL: https://github.com/apache/incubator-nuttx/pull/7207#discussion_r983569722


##########
fs/vfs/fs_poll.c:
##########
@@ -317,15 +348,9 @@ void poll_notify(FAR struct pollfd **afds, int nfds, 
pollevent_t eventset)
               fds->revents &= ~POLLOUT;
             }
 
-          if (fds->revents != 0)
+          if (fds->revents != 0 && fds->cb)
             {
-              finfo("Report events: %08" PRIx32 "\n", fds->revents);

Review Comment:
   Done



-- 
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