Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp890160imm; Wed, 8 Aug 2018 07:27:10 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxTQTTJGiabvTQ2NX03d6gn4xwQt+CYF0hPRilP2K+5Oc9RcDPEkB4j13Iysa0Nf3uRpCnb X-Received: by 2002:a63:4e5f:: with SMTP id o31-v6mr2865139pgl.256.1533738430305; Wed, 08 Aug 2018 07:27:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533738430; cv=none; d=google.com; s=arc-20160816; b=ALatFZ4mTHytYHzUDQKqsQXCsD8DkSTCI+uF769rnUH3l+JFfZuNsR8xmQ50nKlQUw JDijG0LwQdrqbYG0Zs7ZN8+TzBC2Z+JsXK8KDUQaEKyfP5laNPJAGrb1bvANjBQCimUB BfsBvb8Yc9Vzc16UcOgFfKaxMZ6H43LZFuC1VOinz4KloAf+2Xt+ehsGcBq2FOk0o3Lf 3Dh9lyl1uAOo4yHkgLv3OyBCdtwShWEfhwFB2k4xUkOi1mj6xwjkSy5CKNz+jwZG64mP K2lhuQQxK1EDsZVDtR6kUj2nDH9WpDriB0Gd+nyPilnEcMNesDOETyVYCdqE8suVsYjc lqZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=5YgGyj0OgJj2lG3kW6cBi8p2QQnxabqXcABI5Ce59zs=; b=u2Ejxgn//oGMLq5Cm4zJ4BgNLbXAP1/AZw8E5IT9fj76iv5WtERD+yc4xZxUiFQISO 9T9xzttVktb534FwYzJqLsjeF2jRZ49V4cPA0Z0VqljGoe1kYzrMux5jsdVTQ8eHosRw uytOtAq3XzMoAzq+f9lM4UcdN4o7R67dlFCMB/THFG0mJnnGe6z9SbLbjX6aahqGxC5h yHXpDkBnJID624icPONsjYhf0ODNMVrZFMDdlz/e//4eB4YZ+YyFxprOq3Hdx15fd+hC Ned6Y+7OTXqhsNRVWKX6FV0GlCta4MHdPl3GIXmnkzWfO29WIndxczNW3Bx+oA5r/Ipl RirQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h90-v6si3411509plb.484.2018.08.08.07.26.55; Wed, 08 Aug 2018 07:27:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727609AbeHHQpt (ORCPT + 99 others); Wed, 8 Aug 2018 12:45:49 -0400 Received: from mx2.suse.de ([195.135.220.15]:55240 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727331AbeHHQpm (ORCPT ); Wed, 8 Aug 2018 12:45:42 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 4BF23AED2; Wed, 8 Aug 2018 14:25:46 +0000 (UTC) From: Juergen Gross To: linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, linux-block@vger.kernel.org Cc: konrad.wilk@oracle.com, roger.pau@citrix.com, axboe@kernel.dk, boris.ostrovsky@oracle.com, Juergen Gross Subject: [PATCH v2 5/5] xen/blkback: remove unused pers_gnts_lock from struct xen_blkif_ring Date: Wed, 8 Aug 2018 16:25:28 +0200 Message-Id: <20180808142528.31029-6-jgross@suse.com> X-Mailer: git-send-email 2.13.7 In-Reply-To: <20180808142528.31029-1-jgross@suse.com> References: <20180808142528.31029-1-jgross@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org pers_gnts_lock isn't being used anywhere. Remove it. Signed-off-by: Juergen Gross Reviewed-by: Roger Pau Monné --- drivers/block/xen-blkback/common.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/block/xen-blkback/common.h b/drivers/block/xen-blkback/common.h index 2339b8d39c5e..1d3002d773f7 100644 --- a/drivers/block/xen-blkback/common.h +++ b/drivers/block/xen-blkback/common.h @@ -269,7 +269,6 @@ struct xen_blkif_ring { wait_queue_head_t pending_free_wq; /* Tree to store persistent grants. */ - spinlock_t pers_gnts_lock; struct rb_root persistent_gnts; unsigned int persistent_gnt_c; atomic_t persistent_gnt_in_use; -- 2.13.7