From patchwork Mon Nov 4 21:34:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Valentina Giusti X-Patchwork-Id: 3137971 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CA00ABEEB2 for ; Mon, 4 Nov 2013 21:37:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0E043205BE for ; Mon, 4 Nov 2013 21:37:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3C6A6205AC for ; Mon, 4 Nov 2013 21:37:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753301Ab3KDVhO (ORCPT ); Mon, 4 Nov 2013 16:37:14 -0500 Received: from mail.microon.de ([37.252.125.21]:37988 "EHLO gattino.microon.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751415Ab3KDVhA (ORCPT ); Mon, 4 Nov 2013 16:37:00 -0500 Received: from tindwyl.labs.pbs.com (ulmg-4d022145.pool.mediaWays.net [77.2.33.69]) by gattino.microon.de (Postfix) with ESMTPSA id AF5F041E9E; Mon, 4 Nov 2013 22:36:57 +0100 (CET) From: Valentina Giusti To: chris.mason@fusionio.com Cc: linux-btrfs@vger.kernel.org Subject: [PATCH 6/9] btrfs: remove unused variable from setup_cluster_no_bitmap Date: Mon, 4 Nov 2013 22:34:26 +0100 Message-Id: <1383600869-10085-7-git-send-email-valentina.giusti@microon.de> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1383600869-10085-1-git-send-email-valentina.giusti@microon.de> References: <1383600869-10085-1-git-send-email-valentina.giusti@microon.de> Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The variable window_start in setup_cluster_no_bitmap is not used since commit 1bb91902dc90e25449893e693ad45605cb08fbe5 (Btrfs: revamp clustered allocation logic) Signed-off-by: Valentina Giusti --- fs/btrfs/free-space-cache.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c index 4f419ba..05395cd 100644 --- a/fs/btrfs/free-space-cache.c +++ b/fs/btrfs/free-space-cache.c @@ -2419,7 +2419,6 @@ setup_cluster_no_bitmap(struct btrfs_block_group_cache *block_group, struct btrfs_free_space *entry = NULL; struct btrfs_free_space *last; struct rb_node *node; - u64 window_start; u64 window_free; u64 max_extent; u64 total_size = 0; @@ -2441,7 +2440,6 @@ setup_cluster_no_bitmap(struct btrfs_block_group_cache *block_group, entry = rb_entry(node, struct btrfs_free_space, offset_index); } - window_start = entry->offset; window_free = entry->bytes; max_extent = entry->bytes; first = entry;