소스 검색

[DFS] remove the unnecessary code

bernard 11 년 전
부모
커밋
7fd45f3d44
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      components/dfs/src/dfs_file.c

+ 0 - 2
components/dfs/src/dfs_file.c

@@ -236,8 +236,6 @@ int dfs_file_unlink(const char *path)
     char *fullpath;
     struct dfs_filesystem *fs;
 
-    result = DFS_STATUS_OK;
-
     /* Make sure we have an absolute path */
     fullpath = dfs_normalize_path(RT_NULL, path);
     if (fullpath == RT_NULL)