Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2877023pxk; Sun, 20 Sep 2020 21:54:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/bbUsANLCbEegI/GlOfi5UykBHYghOkp309KAOFS87wU7QxSNEF0L68gg8fLSmPQjalyv X-Received: by 2002:a17:906:7cb:: with SMTP id m11mr49478953ejc.41.1600664092920; Sun, 20 Sep 2020 21:54:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600664092; cv=none; d=google.com; s=arc-20160816; b=ySHhcP4IS6xpoPF+hKP6Zo8pX9mIWpnUOJAIoMCR6EO/UcFjlO3lx3TxetF2I5o8NW yB9yMWrf2F3kJKYm6C34eDTYfyqcU7y5f39EhMlWi1SoCNgIByyT7EmPMPv4Ra/LAfZ9 SJbTCUNk58GaP50/HYO1uMjw4S59czJBRcvZ0rI8z9Zp9v7mX+4OYYOqz9a+2UdDsCw9 Temsx5fmSQGkY6Cmh7l+dpisEt0FxU5REaqaArI01tLeSi+rJL5RxtakuKwMNr1w9UQ6 Um2NeywuLc4nCVcTCxIHnjb9R9vwcUFL9+p3WJPSUwdh6d7H0gKGdf2mulvw65eqkLGR EG+w== 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 :message-id:date:subject:cc:to:from; bh=WhfabG3F8e3SvCP05AyCrL9DlsXCUgwYqR3oWM1A/44=; b=AWTmvhTpNW4r1k10/Jp8a9FKN6UCh5Qq5CjR89CkO9kTlJrFvtA5DD9N7FsygXju4T W/m2j38pq7BsP5inukvmC/uqTBQUuGSqYHr4qur2wzQDD8oggVH6RNr6K9teszDwkqPD iZiDNMK/94UmaBAKDyCKlD455mofpazQL71zxb5ULFsxwpAs+6eJb5rml4gcX2l4g7xh UedovLtlPB8xOPXky97aGToF0+ixs+Z2sXlvaVt4yRt9s4e/5CC+PxKTAAWo0AQHOKA5 Cat3WXCmWDVq7CJ/iyIK3Wu6cAcwbR+2fmVnQVYV3zvE+wtUcCJxWOZ4epLv0/B58Ui1 LvoQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x18si7392252ejn.61.2020.09.20.21.54.30; Sun, 20 Sep 2020 21:54:52 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726322AbgIUEvg (ORCPT + 99 others); Mon, 21 Sep 2020 00:51:36 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:13735 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726011AbgIUEvg (ORCPT ); Mon, 21 Sep 2020 00:51:36 -0400 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id ACE0EDAEC123FCDC541F; Mon, 21 Sep 2020 12:51:32 +0800 (CST) Received: from DESKTOP-8RFUVS3.china.huawei.com (10.174.185.226) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.487.0; Mon, 21 Sep 2020 12:51:26 +0800 From: Zenghui Yu To: , CC: , , , Zenghui Yu Subject: [PATCH v2 1/2] vfio/pci: Remove redundant declaration of vfio_pci_driver Date: Mon, 21 Sep 2020 12:51:15 +0800 Message-ID: <20200921045116.258-1-yuzenghui@huawei.com> X-Mailer: git-send-email 2.23.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.174.185.226] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It was added by commit 137e5531351d ("vfio/pci: Add sriov_configure support") but duplicates a forward declaration earlier in the file. Remove it. Signed-off-by: Zenghui Yu Reviewed-by: Cornelia Huck --- * From v1: - Clarify the commit message per Alex's suggestion. - Add Cornelia's R-b tag. 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) -- 2.19.1