diff --git a/components/dfs/src/dfs_file.c b/components/dfs/src/dfs_file.c index 441e3225594a949f49f4a0278256640ae0492eac..3ec9b5b5b08276715c4c326409e51d0738fed2e3 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)