projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4c0a7d
)
btrfs: remove unnecessary DEFINE_WAIT() declarations
author
Eric Sandeen
<
[email protected]
>
Thu, 31 Jan 2013 00:55:00 +0000
(
00:55
+0000)
committer
Josef Bacik
<
[email protected]
>
Wed, 20 Feb 2013 17:59:24 +0000
(12:59 -0500)
No point in DEFINE_WAIT(wait) if it's not used!
Signed-off-by: Eric Sandeen <
[email protected]
>
Signed-off-by: Josef Bacik <
[email protected]
>
fs/btrfs/extent-tree.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/extent-tree.c
b/fs/btrfs/extent-tree.c
index e035731b36083929788c88628e83ba6e07a7b85e..3158817cd5a9f01e4847ff619f71ae90dea8e683 100644
(file)
--- a/
fs/btrfs/extent-tree.c
+++ b/
fs/btrfs/extent-tree.c
@@
-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)