aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/free-space-cache.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2011-04-19 14:31:08 +0200
committerDavid Sterba <dsterba@suse.cz>2011-05-02 13:57:19 +0200
commitedc95aec57661c8e568e18f6c3f002aefa07ebc8 (patch)
treea3f2570fb6aa53f89eb7a453bd3435dff4c3ba8d /fs/btrfs/free-space-cache.c
parentbtrfs: rename variables clashing with global function names (diff)
downloadlinux-dev-edc95aec57661c8e568e18f6c3f002aefa07ebc8.tar.xz
linux-dev-edc95aec57661c8e568e18f6c3f002aefa07ebc8.zip
btrfs: remove nested duplicate variable declarations
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/free-space-cache.c')
-rw-r--r--fs/btrfs/free-space-cache.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c
index 63731a1fb0a1..9e69c6b8409c 100644
--- a/fs/btrfs/free-space-cache.c
+++ b/fs/btrfs/free-space-cache.c
@@ -1910,8 +1910,6 @@ u64 btrfs_alloc_from_cluster(struct btrfs_block_group_cache *block_group,
while(1) {
if (entry->bytes < bytes ||
(!entry->bitmap && entry->offset < min_start)) {
- struct rb_node *node;
-
node = rb_next(&entry->offset_index);
if (!node)
break;
@@ -1925,7 +1923,6 @@ u64 btrfs_alloc_from_cluster(struct btrfs_block_group_cache *block_group,
cluster, entry, bytes,
min_start);
if (ret == 0) {
- struct rb_node *node;
node = rb_next(&entry->offset_index);
if (!node)
break;