From patchwork Tue Mar 8 11:34:10 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arne Jansen X-Patchwork-Id: 618051 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p28Bhtn8012438 for ; Tue, 8 Mar 2011 11:43:56 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754173Ab1CHLnv (ORCPT ); Tue, 8 Mar 2011 06:43:51 -0500 Received: from ysabell.rzone.de ([81.169.144.237]:47500 "EHLO ysabell.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753536Ab1CHLnu (ORCPT ); Tue, 8 Mar 2011 06:43:50 -0500 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 08 Mar 2011 11:43:58 +0000 (UTC) X-Greylist: delayed 579 seconds by postgrey-1.27 at vger.kernel.org; Tue, 08 Mar 2011 06:43:50 EST Received: from gargravarr.store (gargravarr.store [192.168.42.236]) by ysabell.rzone.de (Postfix) with ESMTP id 70407FAB; Tue, 8 Mar 2011 12:34:10 +0100 (MET) Received: by gargravarr.store (Postfix, from userid 32466) id 6694D4448C; Tue, 8 Mar 2011 12:34:10 +0100 (CET) From: Arne Jansen To: linux-btrfs@vger.kernel.org Cc: jansen@webgods.de Subject: [PATCH] remove unneeded DEFINE_WAITs Date: Tue, 8 Mar 2011 12:34:10 +0100 Message-Id: <1299584050-6014-1-git-send-email-sensille@gmx.net> X-Mailer: git-send-email 1.7.3.4 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org 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)