projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9679de
)
Btrfs: remove unused variable wait in lock_stripe_add
author
Liu Bo
<bo.li.liu@oracle.com>
Tue, 5 Dec 2017 01:09:42 +0000
(18:09 -0700)
committer
David Sterba
<dsterba@suse.com>
Mon, 22 Jan 2018 15:08:15 +0000
(16:08 +0100)
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>
fs/btrfs/raid56.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/raid56.c
b/fs/btrfs/raid56.c
index a7f79254eccaff4c58d8e9f7b92f96f899652456..3940906533a280262c0d7b8739e137711afe477d 100644
(file)
--- 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;