xiaoxiang781216 commented on a change in pull request #5428:
URL: https://github.com/apache/incubator-nuttx/pull/5428#discussion_r801653436
##########
File path: drivers/serial/pty.c
##########
@@ -153,14 +153,10 @@ struct pty_devpair_s
****************************************************************************/
static int pty_semtake(FAR struct pty_devpair_s *devpair);
-#ifndef CONFIG_DISABLE_PSEUDOFS_OPERATIONS
Review comment:
Yes, pty can be deleted not only through unlink, but also through
driver_unregister. The late api always exist regardless
CONFIG_DISABLE_PSEUDOFS_OPERATIONS's setting.
--
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]