Skip to content

Commit

Permalink
btrfs: remove unnecessary DEFINE_WAIT() declarations
Browse files Browse the repository at this point in the history
No point in DEFINE_WAIT(wait) if it's not used!

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
  • Loading branch information
Eric Sandeen authored and Josef Bacik committed Feb 20, 2013
1 parent d4c0a7d commit 1971e91
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/btrfs/extent-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -5541,7 +5541,6 @@ wait_block_group_cache_progress(struct btrfs_block_group_cache *cache,
u64 num_bytes)
{
struct btrfs_caching_control *caching_ctl;
DEFINE_WAIT(wait);

caching_ctl = get_caching_control(cache);
if (!caching_ctl)
Expand All @@ -5558,7 +5557,6 @@ static noinline int
wait_block_group_cache_done(struct btrfs_block_group_cache *cache)
{
struct btrfs_caching_control *caching_ctl;
DEFINE_WAIT(wait);

caching_ctl = get_caching_control(cache);
if (!caching_ctl)
Expand Down

0 comments on commit 1971e91

Please sign in to comment.