fs/vfs: remove redundant return in nx_vopen

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko 2023-09-15 22:06:02 +03:00 committed by Xiang Xiao
parent 5bee23da07
commit 0e42808923

View File

@ -266,7 +266,6 @@ static int nx_vopen(FAR struct tcb_s *tcb,
if (fd < 0)
{
file_close(&filep);
return fd;
}
return fd;