diff options
author | Liu Bo <bo.li.liu@oracle.com> | 2017-12-04 18:09:42 -0700 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-01-22 16:08:15 +0100 |
commit | c9f540fa6f4cab5a506b157e7bf2e5373c0241c2 (patch) | |
tree | 89b0779f5c785f3e0de755d5701a222479be063c /fs/btrfs/raid56.c | |
parent | e9679de3fdcb11a13cfe3873c9923b761c8067ab (diff) |
Btrfs: remove unused variable wait in lock_stripe_add
The defined wait is not used anywhere.
Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/raid56.c')
-rw-r--r-- | fs/btrfs/raid56.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/raid56.c b/fs/btrfs/raid56.c index a7f79254ecca..3940906533a2 100644 --- a/fs/btrfs/raid56.c +++ b/fs/btrfs/raid56.c @@ -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; |