fs: Remove the unused nx_fcntl to prefer file_fcntl for kernel

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-10-27 01:36:45 +08:00 • committed by Petro Karashchenko
parent b22cc1e2b8
commit fc1efe2c0b
2 changed files with 14 additions and 86 deletions

View file

@ -1296,25 +1296,6 @@ int file_ioctl(FAR struct file *filep, int req, ...);
int file_fcntl(FAR struct file *filep, int cmd, ...);
/****************************************************************************
* Name: nx_fcntl
*
* Description:
* nx_fcntl() is similar to the standard 'fcntl' interface except that is
* not a cancellation point and it does not modify the errno variable.
*
* nx_fcntl() is an internal NuttX interface and should not be called
* from applications.
*
* Returned Value:
* Returns a non-negative number on success; A negated errno value is
* returned on any failure (see comments fcntl() for a list of appropriate
* errno values).
*
****************************************************************************/
int nx_fcntl(int fd, int cmd, ...);
/****************************************************************************
* Name: file_poll
*