diff --git a/fs/vfs/fs_open.c b/fs/vfs/fs_open.c index 6051d9ae807..05cdd15fed5 100644 --- a/fs/vfs/fs_open.c +++ b/fs/vfs/fs_open.c @@ -266,7 +266,6 @@ static int nx_vopen(FAR struct tcb_s *tcb, if (fd < 0) { file_close(&filep); - return fd; } return fd;