diff --git a/components/dfs/src/dfs.c b/components/dfs/src/dfs.c index fe0020b277b0ebd7d56bae98a99016aa3ebc2488..86ef809fbf381ac6583ea562eb9d92119119aa9f 100644 --- a/components/dfs/src/dfs.c +++ b/components/dfs/src/dfs.c @@ -153,13 +153,6 @@ struct dfs_fd *fd_get(int fd) dfs_lock(); d = &fd_table[fd]; - /* check dfs_fd valid or not */ - if (d->path == RT_NULL || d->fs == RT_NULL) - { - dfs_unlock(); - return RT_NULL; - } - /* increase the reference count */ d->ref_count ++; dfs_unlock();