Skip to content

Commit 60360ae

Browse files
committed
Removed duplicated fs in fatfs
1 parent 3fb21aa commit 60360ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/fs/fatfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ int fatfs_open(const char *path, int flags)
588588
{
589589
struct fnode *fno = fno_search(path);
590590
struct fatfs_priv *priv = (struct fatfs_priv *)fno->priv;
591-
int ret = task_filedesc_add(fno);
591+
int ret;
592592

593593
if (!path)
594594
return -EINVAL;

0 commit comments

Comments
 (0)