Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp333925pxk; Thu, 17 Sep 2020 04:30:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbHYF+bnKNKksgyTgHJwXWFceYVTCIXfJXXbirCfUwiKsH5Koqu7OPh3aNuE+HQnT93H+6 X-Received: by 2002:a17:906:f8d2:: with SMTP id lh18mr31314541ejb.44.1600342253639; Thu, 17 Sep 2020 04:30:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600342253; cv=none; d=google.com; s=arc-20160816; b=foHYhyxGt1bQSsjThqRNgxp3hgCAARQ4taccCIt/PaaJT0SAvwkaHE6AhDA4nLJy31 31RIdUdo4siOVp+UI4VPwg1/g6szEA+Ry47Ti9TCqaPZ5+7ygOKa9grA1HGvz8RtMf7P xzym6Li4u6Tq3XMhkYd9r5dJSUuNyKEQgGxPVPt5uwQSdpgH3A8N92WLVx6HUxs+bXk+ kTIQB30SILsoTTOPk5s9AuFDP98dLKJMWKimF1KbTa4nMjU5986VQB452JevyffJW89X 7ARrH6NLqLqFE9yxi+Iy7BPkEtgoSzcaS6tShVKortzFG5DnfvZF2QA/UX4V7GiZSfMp BDYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=fqujnUHVQWeL8Ql0HkiOFkbBms+emzP3B/p5Uh6YVNg=; b=bIKLFNTH9J0opZ+78zoDzvaN40Afh4IYc0DefGyB149WL9tXmQmS5NhHREPvqtPhBO ByR/2puJTx4H0+BddoU8ReHVlM3WDO9LUed0HmWcFTwNL+LJlgO0z4PfVJJbqmiQvjNs dnu9IAHD66BxuI/7Qx+guwcTz0+LMJyUtbcr3yybgETSGLkWgGHNdHIUOi8OLbb+Gekr JPE1BcityRG2wvO3H13cdkgejZ1vLKCp+rNacflvoK3y/II9+rT0HjRWW4nUJ6o77xaj A9fpRQaUDgL1dWvWZN9xRNneQAypxAP4xHSf6NHQQ6N9/A3aUY4mNIEaTf6yMFFUrMCD FUFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=bFYEl+3x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n11si13996417ejg.69.2020.09.17.04.30.30; Thu, 17 Sep 2020 04:30:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=bFYEl+3x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726723AbgIQL1U (ORCPT + 99 others); Thu, 17 Sep 2020 07:27:20 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:40603 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726185AbgIQL0p (ORCPT ); Thu, 17 Sep 2020 07:26:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600342004; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fqujnUHVQWeL8Ql0HkiOFkbBms+emzP3B/p5Uh6YVNg=; b=bFYEl+3xCIuZk8pVidsrNLw6/+aQvCzqzI+cu4cLQAjK0GYjFxDxtEdg4A20P2zxvekKNb 4p9IOD7AOGJeaU6krosg1UbmFOZB5UtRWbAk2aiN3QaWBqHLADJpv5BpvTc6txkYNBsI2P sRuW3TKpnkIuin5Da2VgZiYSiQDS7CA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-586-mP7mHFr4NauNqqgNMk_Q3A-1; Thu, 17 Sep 2020 07:26:42 -0400 X-MC-Unique: mP7mHFr4NauNqqgNMk_Q3A-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6E78DADC00; Thu, 17 Sep 2020 11:26:41 +0000 (UTC) Received: from gondolin (ovpn-113-19.ams2.redhat.com [10.36.113.19]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7B8AF7880B; Thu, 17 Sep 2020 11:26:37 +0000 (UTC) Date: Thu, 17 Sep 2020 13:26:34 +0200 From: Cornelia Huck To: Zenghui Yu Cc: , , , Subject: Re: [PATCH 1/2] vfio/pci: Remove redundant declaration of vfio_pci_driver Message-ID: <20200917132634.4df6ff60.cohuck@redhat.com> In-Reply-To: <20200917033128.872-1-yuzenghui@huawei.com> References: <20200917033128.872-1-yuzenghui@huawei.com> Organization: Red Hat GmbH MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 17 Sep 2020 11:31:27 +0800 Zenghui Yu wrote: > It was added by commit 137e5531351d ("vfio/pci: Add sriov_configure > support") and actually unnecessary. Remove it. > > Signed-off-by: Zenghui Yu > --- > drivers/vfio/pci/vfio_pci.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/vfio/pci/vfio_pci.c b/drivers/vfio/pci/vfio_pci.c > index 1ab1f5cda4ac..da68e2f86622 100644 > --- a/drivers/vfio/pci/vfio_pci.c > +++ b/drivers/vfio/pci/vfio_pci.c > @@ -1862,7 +1862,6 @@ static const struct vfio_device_ops vfio_pci_ops = { > > static int vfio_pci_reflck_attach(struct vfio_pci_device *vdev); > static void vfio_pci_reflck_put(struct vfio_pci_reflck *reflck); > -static struct pci_driver vfio_pci_driver; > > static int vfio_pci_bus_notifier(struct notifier_block *nb, > unsigned long action, void *data) Reviewed-by: Cornelia Huck