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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]