diff mbox

remove unneeded DEFINE_WAITs

Message ID 1299584050-6014-1-git-send-email-sensille@gmx.net (mailing list archive)
State New, archived
Headers show

Commit Message

Arne Jansen March 8, 2011, 11:34 a.m. UTC
None

Comments

Arne Jansen May 24, 2011, 8:49 a.m. UTC | #1
these two are still in the integration-test tree...

-Arne

On 08.03.2011 12:34, Arne Jansen wrote:
> Signed-off-by: Arne Jansen <sensille@gmx.net>
> ---
>  fs/btrfs/extent-tree.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
> index a7aaa10..c1f0c28 100644
> --- a/fs/btrfs/extent-tree.c
> +++ b/fs/btrfs/extent-tree.c
> @@ -4790,7 +4790,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)
> @@ -4807,7 +4806,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)

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index a7aaa10..c1f0c28 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -4790,7 +4790,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)
@@ -4807,7 +4806,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)