diff options
-rw-r--r-- | fs/btrfs/extent-tree.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index e035731b3608..3158817cd5a9 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c | |||
@@ -5541,7 +5541,6 @@ wait_block_group_cache_progress(struct btrfs_block_group_cache *cache, | |||
5541 | u64 num_bytes) | 5541 | u64 num_bytes) |
5542 | { | 5542 | { |
5543 | struct btrfs_caching_control *caching_ctl; | 5543 | struct btrfs_caching_control *caching_ctl; |
5544 | DEFINE_WAIT(wait); | ||
5545 | 5544 | ||
5546 | caching_ctl = get_caching_control(cache); | 5545 | caching_ctl = get_caching_control(cache); |
5547 | if (!caching_ctl) | 5546 | if (!caching_ctl) |
@@ -5558,7 +5557,6 @@ static noinline int | |||
5558 | wait_block_group_cache_done(struct btrfs_block_group_cache *cache) | 5557 | wait_block_group_cache_done(struct btrfs_block_group_cache *cache) |
5559 | { | 5558 | { |
5560 | struct btrfs_caching_control *caching_ctl; | 5559 | struct btrfs_caching_control *caching_ctl; |
5561 | DEFINE_WAIT(wait); | ||
5562 | 5560 | ||
5563 | caching_ctl = get_caching_control(cache); | 5561 | caching_ctl = get_caching_control(cache); |
5564 | if (!caching_ctl) | 5562 | if (!caching_ctl) |