git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2546 bbd45198-f89e-11dd-88c7-29a3b14d5316
@@ -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();