From nobody Fri May 06 22:43:02 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id EE3A11AB8781; Fri, 6 May 2022 22:43:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kw5F33PNkz3vgg; Fri, 6 May 2022 22:43:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651876983; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DX8P/13y4sJ4ZUd+w8ZAxCqQ1bOAJSSNkPLMQmGUq7c=; b=KGSMCRNKyGcfd9yDWUIy3X3AoLzlP499T+PD6QOokGh+Ie4gCOrAUfEl6E97NA19PGAU+8 4SU19CFNwJA4TV+JdD3Lw7RpysulX8YlEfJpQIXxeAN/Jxc6pWyQnBULxIJQxv50o1BWLt V0vGQ70NDwkmFyfP1QSkHfQ/rzPRxe+Jdc19bv5ilV3JuU5LB5ZAQmozRqOkvFl/E0CNzd 8BLD7+Yv8Ka/LS9qM1fHgpLFXa6EM7MSrs1qSWaFgUHre/pjybu93EDS7iH/CK4BhGokdS eBPJlXGGtU5h0tdQ0Hf7inQWRAWyvC9DGCetP0RntFuuBcprl0+OTxejGzvkEQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 50845247A6; Fri, 6 May 2022 22:43:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 246Mh2I2019155; Fri, 6 May 2022 22:43:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246Mh2nA019154; Fri, 6 May 2022 22:43:02 GMT (envelope-from git) Date: Fri, 6 May 2022 22:43:02 GMT Message-Id: <202205062243.246Mh2nA019154@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 606e29ec4149 - main - Remove unused ata_pci_devclass. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 606e29ec41490c35d2275f7a660664da293c1ccd Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651876983; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DX8P/13y4sJ4ZUd+w8ZAxCqQ1bOAJSSNkPLMQmGUq7c=; b=XH3GtpQlViBRqewh34M3AsxadqS2BBFTVIt382w0U/QNBxZ/ofkW0giQZbJmN6OySmNvY/ CGAe97K2zHjJRLsp8KWs/0Fa3lzM8u5iRQ3ccm2ngIV7ptlnfdZ0GdScw5J/9K/uW6ftaD pybX9g778Lw8ub4fldc4pVCTe7NYOdBBJ7xQwPfOizL97vWRSSW/82fHEv3JpJs8gY4E9W OVINIBV5v2u62v6aMHjKsKQdxR6rN9v2685wL8fDFsoiHFvhHEd2DKzqhWacdIOoE8rkG2 cjKbe88DQJdoLebz3MsTJ/Df24VPOuPCIhP1T0vOvOcWE4giFM56uSfZJj5ZRw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651876983; a=rsa-sha256; cv=none; b=XwORRJECxikP86jFGeJI1+arWlGgr7dID24ZY3JjNE/D3/onp3TcQtoNvGDzUzxtRdtYUy FSQkut2tKvOvt8Wd1tBKw0ru9xgcuLsLqwtDt8sQjyY8GMjG01jQea+Oa9CQtkan10DPN/ ojIJaHaaIJJdfIhprKFmSeM035X/1LT/fK+T1UREgKQhO8fqXXWfctMPGx7MIt3RxYRc0M j8oITRXp3+Wb+bDWkeyKvyVcgsqtRDcdogR0TbwGLIwu5jmwkNOjat/amBmg+owfC7Pel1 V6kNlt0og+MdC2TcPd0fq4wiVqX7C3zDBzYhp4teyWkyU2wq4nzftc+weckHng== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=606e29ec41490c35d2275f7a660664da293c1ccd commit 606e29ec41490c35d2275f7a660664da293c1ccd Author: John Baldwin AuthorDate: 2022-04-19 20:58:27 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:39:29 +0000 Remove unused ata_pci_devclass. --- sys/dev/ata/ata-pci.c | 4 +--- sys/dev/ata/ata-pci.h | 4 +--- sys/dev/ata/chipsets/ata-fsl.c | 3 +-- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/sys/dev/ata/ata-pci.c b/sys/dev/ata/ata-pci.c index 86072519c1e5..41e2dcabf749 100644 --- a/sys/dev/ata/ata-pci.c +++ b/sys/dev/ata/ata-pci.c @@ -601,15 +601,13 @@ static device_method_t ata_pci_methods[] = { DEVMETHOD_END }; -devclass_t ata_pci_devclass; - static driver_t ata_pci_driver = { "atapci", ata_pci_methods, sizeof(struct ata_pci_controller), }; -DRIVER_MODULE(atapci, pci, ata_pci_driver, ata_pci_devclass, NULL, NULL); +DRIVER_MODULE(atapci, pci, ata_pci_driver, NULL, NULL); MODULE_VERSION(atapci, 1); MODULE_DEPEND(atapci, ata, 1, 1, 1); diff --git a/sys/dev/ata/ata-pci.h b/sys/dev/ata/ata-pci.h index ab0e661de29f..0c29f53b1600 100644 --- a/sys/dev/ata/ata-pci.h +++ b/sys/dev/ata/ata-pci.h @@ -561,8 +561,6 @@ int ata_mode2idx(int mode); int ata_sii_chipinit(device_t); /* externs */ -extern devclass_t ata_pci_devclass; - MALLOC_DECLARE(M_ATAPCI); /* macro for easy definition of all driver module stuff */ @@ -593,7 +591,7 @@ static driver_t __CONCAT(dname,_driver) = { \ __CONCAT(dname,_methods), \ sizeof(struct ata_pci_controller) \ }; \ -DRIVER_MODULE(dname, pci, __CONCAT(dname,_driver), ata_pci_devclass, NULL, NULL); \ +DRIVER_MODULE(dname, pci, __CONCAT(dname,_driver), NULL, NULL); \ MODULE_VERSION(dname, 1); \ MODULE_DEPEND(dname, ata, 1, 1, 1); \ MODULE_DEPEND(dname, atapci, 1, 1, 1); diff --git a/sys/dev/ata/chipsets/ata-fsl.c b/sys/dev/ata/chipsets/ata-fsl.c index 4239ca6844a7..e29fa021520d 100644 --- a/sys/dev/ata/chipsets/ata-fsl.c +++ b/sys/dev/ata/chipsets/ata-fsl.c @@ -230,8 +230,7 @@ static driver_t imx_ata_driver = { imx_ata_methods, sizeof(struct ata_pci_controller) }; -DRIVER_MODULE(imx_ata, simplebus, imx_ata_driver, ata_pci_devclass, NULL, - NULL); +DRIVER_MODULE(imx_ata, simplebus, imx_ata_driver, NULL, NULL); MODULE_VERSION(imx_ata, 1); MODULE_DEPEND(imx_ata, ata, 1, 1, 1); MODULE_DEPEND(imx_ata, atapci, 1, 1, 1);