The "ret" will be soon used to hold the return value of another function, assign -1 to it before is nonsense. Signed-off-by: Gui Hecheng <guihc.fnst@xxxxxxxxxxxxxx> --- free-space-cache.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/free-space-cache.c b/free-space-cache.c index 55d7318..bddde24 100644 --- a/free-space-cache.c +++ b/free-space-cache.c @@ -291,8 +291,6 @@ static int __load_free_space_cache(struct btrfs_root *root, return 0; } - ret = -1; - leaf = path->nodes[0]; header = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_free_space_header); -- 1.8.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
