From 7fd45f3d44bb8da3412c15b9fa8d5f60faca42a8 Mon Sep 17 00:00:00 2001 From: bernard Date: Sat, 4 Jan 2014 06:05:03 +0800 Subject: [PATCH] [DFS] remove the unnecessary code --- components/dfs/src/dfs_file.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/dfs/src/dfs_file.c b/components/dfs/src/dfs_file.c index 441e32255..3ec9b5b5b 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) -- GitLab