Explorar o código

btrfs: remove unnecessary DEFINE_WAIT() declarations

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>
Eric Sandeen %!s(int64=12) %!d(string=hai) anos
pai
achega
1971e917c8
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      fs/btrfs/extent-tree.c

+ 0 - 2
fs/btrfs/extent-tree.c

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