From: Eric Sandeen Date: Thu, 31 Jan 2013 00:55:00 +0000 (+0000) Subject: btrfs: remove unnecessary DEFINE_WAIT() declarations X-Git-Tag: v3.12-rc1~1062^2~57^2~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1971e917c8c99ff190264305803fbafcbbac1422;p=kernel%2Fkernel-generic.git btrfs: remove unnecessary DEFINE_WAIT() declarations No point in DEFINE_WAIT(wait) if it's not used! Signed-off-by: Eric Sandeen Signed-off-by: Josef Bacik --- diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index e035731..3158817 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, u64 num_bytes) { struct btrfs_caching_control *caching_ctl; - DEFINE_WAIT(wait); caching_ctl = get_caching_control(cache); if (!caching_ctl) @@ -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)