diff options
Diffstat (limited to 'fs/btrfs/volumes.c')
-rw-r--r-- | fs/btrfs/volumes.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 28681e729b1d..91851b555e2e 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c | |||
@@ -1901,7 +1901,6 @@ int btrfs_balance(struct btrfs_root *dev_root) | |||
1901 | u64 size_to_free; | 1901 | u64 size_to_free; |
1902 | struct btrfs_path *path; | 1902 | struct btrfs_path *path; |
1903 | struct btrfs_key key; | 1903 | struct btrfs_key key; |
1904 | struct btrfs_chunk *chunk; | ||
1905 | struct btrfs_root *chunk_root = dev_root->fs_info->chunk_root; | 1904 | struct btrfs_root *chunk_root = dev_root->fs_info->chunk_root; |
1906 | struct btrfs_trans_handle *trans; | 1905 | struct btrfs_trans_handle *trans; |
1907 | struct btrfs_key found_key; | 1906 | struct btrfs_key found_key; |
@@ -1965,9 +1964,6 @@ int btrfs_balance(struct btrfs_root *dev_root) | |||
1965 | if (found_key.objectid != key.objectid) | 1964 | if (found_key.objectid != key.objectid) |
1966 | break; | 1965 | break; |
1967 | 1966 | ||
1968 | chunk = btrfs_item_ptr(path->nodes[0], | ||
1969 | path->slots[0], | ||
1970 | struct btrfs_chunk); | ||
1971 | /* chunk zero is special */ | 1967 | /* chunk zero is special */ |
1972 | if (found_key.offset == 0) | 1968 | if (found_key.offset == 0) |
1973 | break; | 1969 | break; |