summaryrefslogtreecommitdiff
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
parent306e16ce13c0f3d4fc071b45803b5b83c2606011 (diff)
downloadlinux-3.10-edc95aec57661c8e568e18f6c3f002aefa07ebc8.tar.gz
linux-3.10-edc95aec57661c8e568e18f6c3f002aefa07ebc8.tar.bz2
linux-3.10-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 63731a1fb0a..9e69c6b8409 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;