mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 18:09:57 +00:00
btrfs: remove unused variable from setup_cluster_no_bitmap
The variable window_start in setup_cluster_no_bitmap is not used since commit
1bb91902dc
(Btrfs: revamp clustered allocation logic)
Signed-off-by: Valentina Giusti <valentina.giusti@microon.de>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <clm@fb.com>
This commit is contained in:
parent
50892bac3b
commit
f0265bb409
1 changed files with 0 additions and 2 deletions
|
@ -2421,7 +2421,6 @@ setup_cluster_no_bitmap(struct btrfs_block_group_cache *block_group,
|
|||
struct btrfs_free_space *entry = NULL;
|
||||
struct btrfs_free_space *last;
|
||||
struct rb_node *node;
|
||||
u64 window_start;
|
||||
u64 window_free;
|
||||
u64 max_extent;
|
||||
u64 total_size = 0;
|
||||
|
@ -2443,7 +2442,6 @@ setup_cluster_no_bitmap(struct btrfs_block_group_cache *block_group,
|
|||
entry = rb_entry(node, struct btrfs_free_space, offset_index);
|
||||
}
|
||||
|
||||
window_start = entry->offset;
|
||||
window_free = entry->bytes;
|
||||
max_extent = entry->bytes;
|
||||
first = entry;
|
||||
|
|
Loading…
Reference in a new issue