From 0e428089239a9482af2ef91eacb48557971b7a5e Mon Sep 17 00:00:00 2001 From: Petro Karashchenko Date: Fri, 15 Sep 2023 22:06:02 +0300 Subject: [PATCH] fs/vfs: remove redundant return in nx_vopen Signed-off-by: Petro Karashchenko --- fs/vfs/fs_open.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/vfs/fs_open.c b/fs/vfs/fs_open.c index 6051d9ae80..05cdd15fed 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;