Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3419638imm; Mon, 6 Aug 2018 04:35:46 -0700 (PDT) X-Google-Smtp-Source: AAOMgpctmQBQNqXqey4mlCBNxl2VNScAePTdZGUAx+Ko92FUXjg6RyKoUysvsqWXDvTox+t8byFV X-Received: by 2002:a63:2fc6:: with SMTP id v189-v6mr14146768pgv.61.1533555346319; Mon, 06 Aug 2018 04:35:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533555346; cv=none; d=google.com; s=arc-20160816; b=yt5FyN2y5MVqIedgBpSpCh5/uSQNNfQrvATjVqOr8xfERCSS0/79iydWkYVR5kxZQN e1mnt8FuRKqmyzT2kxWn1GKfPh1W0z5sZhy+KGN+NeWuAhFcJuHWctSMJmMWa6fJiZWG gssfpo2nxUZlF1URPf6wni6jwEA0NTlpNfdAzGVgsyG+ag84mCCHRBLRrxBLRKHgw9+t fUL+I1QoxFJ5qp9GDPTQMeAy3WCUkj44fyUczp+ZlvX3L4rOj/nCXlyaGjNagH7DMhMl uwnN8EOApwcg/H6vC8Vj8nN0b5GgAtdRUDqpQfDyZQsv3JS2t7sXXvur8mb9xJAI82jU WBoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=ARs+RWHunp2Qqq5ymmhtym13u9AhhYnEmC3u28e7sJE=; b=E6wR9kTScC1I5RjBt1pXjiXXgE0Go2ZDymOH3XjWztk+6gLjhkdFam/boo51zc4UXs mXBu/9ZtwEQ+7iPKUnPoqxgKvlgd0B5Jk751aOOG8ygEfRoYVl/COc0IVO/ZK7JiNHwF bYIBMOuJM2H9Hujjkx9VjLzNt84RtfHlHlnDzcCQJ4iNTIJEH5ewB4JMLlmJDO+9T2HN eK+uPmaPqRcrpEe+i3VUuZ12UPmcAvDoDfi5MbW34AHUV7Fcb+/vbyjcCkTBzJbG7pWF /Gahpk8ud1hm8Szc+q8YnUqEwdl23xRK8YWWrKzY0BV0453RAWv74k5jIJJqRkRPOczg TiYg== 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 g19-v6si7066239plq.163.2018.08.06.04.35.31; Mon, 06 Aug 2018 04:35: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 S1730315AbeHFNm7 (ORCPT + 99 others); Mon, 6 Aug 2018 09:42:59 -0400 Received: from mx2.suse.de ([195.135.220.15]:33666 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728417AbeHFNm7 (ORCPT ); Mon, 6 Aug 2018 09:42:59 -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 E6174AE84; Mon, 6 Aug 2018 11:34:18 +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 4/4] xen/blkback: remove unused pers_gnts_lock from struct xen_blkif_ring Date: Mon, 6 Aug 2018 13:34:03 +0200 Message-Id: <20180806113403.24728-6-jgross@suse.com> X-Mailer: git-send-email 2.13.7 In-Reply-To: <20180806113403.24728-1-jgross@suse.com> References: <20180806113403.24728-1-jgross@suse.com> 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 --- 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 26710602d463..4b7747159c38 100644 --- a/drivers/block/xen-blkback/common.h +++ b/drivers/block/xen-blkback/common.h @@ -279,7 +279,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