You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/02/06 13:40:28 UTC
[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5425: drivers/pipe: Remove pipe from file system after open
pkarashchenko commented on a change in pull request #5425:
URL: https://github.com/apache/incubator-nuttx/pull/5425#discussion_r800181567
##########
File path: drivers/pipes/pipe.c
##########
@@ -68,14 +62,10 @@ static const struct file_operations pipe_fops =
NULL, /* seek */
pipecommon_ioctl, /* ioctl */
pipecommon_poll /* poll */
-#ifndef CONFIG_DISABLE_PSEUDOFS_OPERATIONS
- , pipecommon_unlink /* unlink */
-#endif
};
-static sem_t g_pipesem = SEM_INITIALIZER(1);
-static uint32_t g_pipeset = 0;
-static uint32_t g_pipecreated = 0;
+static sem_t g_pipesem = SEM_INITIALIZER(1);
+static int g_pipeno = 0;
Review comment:
```suggestion
static int g_pipeno;
```
--
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-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org