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

Commit c9f540fa authored by Liu Bo's avatar Liu Bo Committed by David Sterba
Browse files

Btrfs: remove unused variable wait in lock_stripe_add



The defined wait is not used anywhere.

Signed-off-by: default avatarLiu Bo <bo.li.liu@oracle.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent e9679de3
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -670,7 +670,6 @@ static noinline int lock_stripe_add(struct btrfs_raid_bio *rbio)
	struct btrfs_raid_bio *cur;
	struct btrfs_raid_bio *pending;
	unsigned long flags;
	DEFINE_WAIT(wait);
	struct btrfs_raid_bio *freeit = NULL;
	struct btrfs_raid_bio *cache_drop = NULL;
	int ret = 0;