aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos Gkekas2017-10-12 22:40:42 +0100
committerDavid Sterba2017-10-30 12:27:59 +0100
commit9e882d6d059ae79afb7b8748cb5ffd83acd058e2 (patch)
tree9cfb80ad8c1aa566c8267f5d8dfcc186044f3e9b
parent709a95c3eb21e3b53fa602d75031a89c7118f50b (diff)
btrfs: Clean up unused variables in free-space-tree.c
Remove variables 'start' and 'end', which are set but never used. Signed-off-by: Christos Gkekas <chris.gekas@gmail.com> Reviewed-by: Omar Sandoval <osandov@fb.com> Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r--fs/btrfs/free-space-tree.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/btrfs/free-space-tree.c b/fs/btrfs/free-space-tree.c
index 684f12247db7..fe5e0324dca9 100644
--- a/fs/btrfs/free-space-tree.c
+++ b/fs/btrfs/free-space-tree.c
@@ -1286,12 +1286,8 @@ static int __add_block_group_free_space(struct btrfs_trans_handle *trans,
struct btrfs_block_group_cache *block_group,
struct btrfs_path *path)
{
- u64 start, end;
int ret;
- start = block_group->key.objectid;
- end = block_group->key.objectid + block_group->key.offset;
-
block_group->needs_free_space = 0;
ret = add_new_free_space_info(trans, fs_info, block_group, path);