Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1971e917 authored by Eric Sandeen's avatar Eric Sandeen Committed by Josef Bacik
Browse files

btrfs: remove unnecessary DEFINE_WAIT() declarations



No point in DEFINE_WAIT(wait) if it's not used!

Signed-off-by: default avatarEric Sandeen <sandeen@redhat.com>
Signed-off-by: default avatarJosef Bacik <jbacik@fusionio.com>
parent d4c0a7da
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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)