Wang Sheng-Hui
2013-Jun-24 06:26 UTC
[PATCH] btrfs-progs: remove unused var *prev in extent-cache.c/find_cache_extent
var *prev is not used in function find_cache_extent. Remove it. Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com> --- extent-cache.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/extent-cache.c b/extent-cache.c index 3dd6434..6d86c33 100644 --- a/extent-cache.c +++ b/extent-cache.c @@ -117,10 +117,9 @@ int insert_cache_extent(struct cache_tree *tree, u64 start, u64 size) struct cache_extent *find_cache_extent(struct cache_tree *tree, u64 start, u64 size) { - struct rb_node *prev; struct rb_node *ret; struct cache_extent *entry; - ret = __tree_search(&tree->root, start, size, &prev); + ret = __tree_search(&tree->root, start, size, NULL); if (!ret) return NULL; -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html