mirror of
https://github.com/apache/nuttx.git
synced 2026-05-25 18:27:56 +08:00
eventfd: Remove the unused and private eventfd_get_minor
since it isn't defined by Linux kernel too Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
@@ -36,10 +36,6 @@
|
||||
#define EFD_SEMAPHORE O_BINARY
|
||||
#define EFD_CLOEXEC O_CLOEXEC
|
||||
|
||||
/* Get device minor number */
|
||||
|
||||
#define EFD_FIOC_MINOR FIOC_MINOR
|
||||
|
||||
/****************************************************************************
|
||||
* Public Type Declarations
|
||||
****************************************************************************/
|
||||
@@ -65,8 +61,6 @@ int eventfd(unsigned int count, int flags);
|
||||
int eventfd_read(int fd, FAR eventfd_t *value);
|
||||
int eventfd_write(int fd, eventfd_t value);
|
||||
|
||||
int eventfd_get_minor(int fd);
|
||||
|
||||
#undef EXTERN
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user