summaryrefslogtreecommitdiff
path: root/components/dfs
diff options
context:
space:
mode:
authorbernard <[email protected]>2014-01-04 06:05:03 +0800
committerbernard <[email protected]>2014-01-04 06:05:03 +0800
commit7fd45f3d44bb8da3412c15b9fa8d5f60faca42a8 (patch)
treeb4075c61e8929a5a4193ef176827e28484abda7c /components/dfs
parente393b8fcfa52f2dbc9d5f64e46d253e8ce897bc9 (diff)
[DFS] remove the unnecessary code
Diffstat (limited to 'components/dfs')
-rw-r--r--components/dfs/src/dfs_file.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/components/dfs/src/dfs_file.c b/components/dfs/src/dfs_file.c
index 441e322559..3ec9b5b5b0 100644
--- a/components/dfs/src/dfs_file.c
+++ b/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)