summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorValentina Giusti <valentina.giusti@microon.de>2013-11-04 22:34:26 +0100
committerChris Mason <clm@fb.com>2014-01-28 13:19:33 -0800
commitf0265bb4099887b1ffb45779026d29c109bfa5bf (patch)
tree1078f14fddc122351f9b8175e94636d291bbd627 /fs
parent50892bac3b93afa5cc8de6541a8013a21bef3f74 (diff)
downloadblackbird-obmc-linux-f0265bb4099887b1ffb45779026d29c109bfa5bf.tar.gz
blackbird-obmc-linux-f0265bb4099887b1ffb45779026d29c109bfa5bf.zip
btrfs: remove unused variable from setup_cluster_no_bitmap
The variable window_start in setup_cluster_no_bitmap is not used since commit 1bb91902dc90e25449893e693ad45605cb08fbe5 (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>
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/free-space-cache.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c
index 057be95b1e1e..332aa33d02f4 100644
--- a/fs/btrfs/free-space-cache.c
+++ b/fs/btrfs/free-space-cache.c
@@ -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;
OpenPOWER on IntegriCloud