Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3159787imm; Mon, 13 Aug 2018 07:02:50 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyioTz3cxhP1HORl8RgtfuimIkgujIF5ybU3SuuBsNq3yD6GamziViBU0KVjsk3M7GiFq5K X-Received: by 2002:a63:231a:: with SMTP id j26-v6mr17084854pgj.138.1534168966466; Mon, 13 Aug 2018 07:02:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534168966; cv=none; d=google.com; s=arc-20160816; b=XKPBwAkvDvQLvmZazaCi04ow1PZ8wrTSRBdmfNTOuLgCSAAGXdx/wDGaNUp9Rz0g9K 8xHMTub3hI6IxfOpukaqENBqx8AHa2iUHEXT5GIwwSWnTXUrxbwv8wMKpfPNlw0048eN O3gmQkrvzTIpMBln8U4Pxhglk5GyBuo6fekwoTXPhbeIcElJpmiW1GgIaK72U3vAg5id G6kMniZ8wFM5IVB/wLrgd7vtlf3t7ru7JgiDBwuRJcK5xOAyEjD5VBzhXf2Bguc/Yc2V 3596DR7HSywbGDy4Fs9MqUrcBxfWtIdJNNMg1bD8MTF2NWDwsDDMQ5ZNLYtoxaMfwsgS N8GA== 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=p9DUguopVfsOHy2XnJa4hXq8u4QSf+UJMWCFtTo2Ghbu950ba0zpkNvQcP6c883SAm hRjGVyPmTGsbs4xJmglC9cxUqSafjh13ib7y9fCUKjDtUyfk0VmuPSeLCOx36r2eIJLJ huE9fzu4aQhJoRTh3Uewq+qw+JsZXioXhxYfl1cBuI5jFtYOSXt+NSUxYD8WO0MWw9eZ Zkb5JQEZun1VUQtqlg5knfNbgGbsddhVST4xIjKbDJQKVzRZ+u2BP2CyIT05yQHwOQvR TWV3si2gdcpvyq5/92IU2XugJy/w3eVmYSfL8V+cH6VyOqt+f0IpvJcZudJDaYX86AVn kz5w== 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 h29-v6si16869538pgb.53.2018.08.13.07.02.31; Mon, 13 Aug 2018 07:02:46 -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 S1729947AbeHMQnp (ORCPT + 99 others); Mon, 13 Aug 2018 12:43:45 -0400 Received: from mx2.suse.de ([195.135.220.15]:60872 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728370AbeHMQno (ORCPT ); Mon, 13 Aug 2018 12:43:44 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id C6893B006; Mon, 13 Aug 2018 14:01:17 +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 v3 5/5] xen/blkback: remove unused pers_gnts_lock from struct xen_blkif_ring Date: Mon, 13 Aug 2018 16:01:14 +0200 Message-Id: <20180813140114.20126-6-jgross@suse.com> X-Mailer: git-send-email 2.13.7 In-Reply-To: <20180813140114.20126-1-jgross@suse.com> References: <20180813140114.20126-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