From nobody Fri May 6 22:42:58 2022 X-Original-To: dev-commits-src-main@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 CBDBF1AB841A; Fri, 6 May 2022 22:42:59 +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 4Kw5Dz1HYPz3vd4; Fri, 6 May 2022 22:42:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651876979; 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=HjRdItpLmz5R06y6Q594Zqw8NXxVGg9+veEdfq3jJfM=; b=N9WpMs7uCc32ZTYpNSUyUvDelWbEeT/fhZxgMkTTRgRprqDjs1JPMxyuSdf0CxjsmpbWC0 /eE3r3ydcYK3k9kM+2AaVgETmt6w510Q9fiCbUuplZ+Cp5nVMo5hcGO9CGbWeFNVL5iZo3 i5Hj90pGuz1ZVUCZ1j2siAFF1W3zwUQYc1esfM09xxpgkjRfkJXBVUgVkwVKpTp//4ypJv 2fB7i9ktKqVHX8/GdEjEUm7sqR2u7yRxyFeSrIoD893qjDMHWbsRQj0FSNrH4DUGoCJui5 yqDfDwaMm+vcUYW2EUhTNF4gFsU5slSSRPvTcNmreEvu2PmD1psqmBD1YLRIDg== 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 DABEA24AE7; Fri, 6 May 2022 22:42:58 +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 246MgwGo019081; Fri, 6 May 2022 22:42:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246MgwNp019080; Fri, 6 May 2022 22:42:58 GMT (envelope-from git) Date: Fri, 6 May 2022 22:42:58 GMT Message-Id: <202205062242.246MgwNp019080@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: 43fb772c68a2 - main - ahc/ahd: Remove unused devclass arguments to DRIVER_MODULE. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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: 43fb772c68a2eac62e9826495f35aa9c0fd72672 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651876979; 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=HjRdItpLmz5R06y6Q594Zqw8NXxVGg9+veEdfq3jJfM=; b=CixTLUiURDE5P6ZxM6WGUznGf7SgN0+l0i9DOEsbhjsE3wMTM+yT77QnC5EM3yv+miUAJY 2ug3v8u0ENsBnmYlfBEkfw4cuUuOkced10bydq8FjsLO0EbxhO9k4HIr8UChsPszIHVn7z +TN7gMIX+NWdcLuXHhi5LR7PSE7/WnGNgYW1hfhqv2LpzpDaI0W4AG6loddz6mwm1tVN9F DHG/BvvmP69nxSgPpb2qhuG5wtZfJy5L2qiFlmBbhUp79JI8BJ82E0CB6TVz3tq3IN10ho zsoIZ1GUV6GGcHT3chqW+rfbx8KGxou9kHzlU9t/RT9XFR9IFLu50p1wJBNV1g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651876979; a=rsa-sha256; cv=none; b=I90dZRz6m4K0IgUDFwA+QNUyQAXziSWIQGZQYYxyGjqT+RSScAxWs8nQgZqVQ4xC90U/g2 vZq5yH+NJXQrz6ZYTzdVfuLTQLBoZ4oPTVdhBc914cDOfHu6i0z1CVLGO0ODvKRmaZeQn/ waoZmXDgpIDi2JAH84vy21LYqaEX1YAYhdytkzfmWbPl4XIIu0B7rlvFdK28y6WNC9T+In 3Z7opQd9okmwrKjj5JsudJlMyxVQsWHaaiWB8ECgO4D00QkHGBV4NGq1rlvXJLYnd/2Faz a3nwkoyLCNjMxvYthNROMkpswhwsNCGvuZphY9BYY2RReROa5D6HOZ8QdBStJw== 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=43fb772c68a2eac62e9826495f35aa9c0fd72672 commit 43fb772c68a2eac62e9826495f35aa9c0fd72672 Author: John Baldwin AuthorDate: 2022-04-19 20:41:23 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:39:28 +0000 ahc/ahd: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/aic7xxx/ahc_isa.c | 2 +- sys/dev/aic7xxx/ahc_pci.c | 2 +- sys/dev/aic7xxx/ahd_pci.c | 4 +--- sys/dev/aic7xxx/aic7xxx_osm.c | 2 -- sys/dev/aic7xxx/aic7xxx_osm.h | 3 --- 5 files changed, 3 insertions(+), 10 deletions(-) diff --git a/sys/dev/aic7xxx/ahc_isa.c b/sys/dev/aic7xxx/ahc_isa.c index bcd2e34bf4b7..56466410dc30 100644 --- a/sys/dev/aic7xxx/ahc_isa.c +++ b/sys/dev/aic7xxx/ahc_isa.c @@ -297,6 +297,6 @@ static driver_t ahc_isa_driver = { sizeof(struct ahc_softc) }; -DRIVER_MODULE(ahc_isa, isa, ahc_isa_driver, ahc_devclass, 0, 0); +DRIVER_MODULE(ahc_isa, isa, ahc_isa_driver, 0, 0); MODULE_DEPEND(ahc_isa, ahc, 1, 1, 1); MODULE_VERSION(ahc_isa, 1); diff --git a/sys/dev/aic7xxx/ahc_pci.c b/sys/dev/aic7xxx/ahc_pci.c index 3ac8a860ba8b..cd1a46e3399e 100644 --- a/sys/dev/aic7xxx/ahc_pci.c +++ b/sys/dev/aic7xxx/ahc_pci.c @@ -53,7 +53,7 @@ static driver_t ahc_pci_driver = { sizeof(struct ahc_softc) }; -DRIVER_MODULE(ahc_pci, pci, ahc_pci_driver, ahc_devclass, 0, 0); +DRIVER_MODULE(ahc_pci, pci, ahc_pci_driver, 0, 0); MODULE_DEPEND(ahc_pci, ahc, 1, 1, 1); MODULE_VERSION(ahc_pci, 1); diff --git a/sys/dev/aic7xxx/ahd_pci.c b/sys/dev/aic7xxx/ahd_pci.c index 11093e91a459..ff090d147894 100644 --- a/sys/dev/aic7xxx/ahd_pci.c +++ b/sys/dev/aic7xxx/ahd_pci.c @@ -53,9 +53,7 @@ static driver_t ahd_pci_driver = { sizeof(struct ahd_softc) }; -static devclass_t ahd_devclass; - -DRIVER_MODULE(ahd, pci, ahd_pci_driver, ahd_devclass, 0, 0); +DRIVER_MODULE(ahd, pci, ahd_pci_driver, 0, 0); MODULE_DEPEND(ahd_pci, ahd, 1, 1, 1); MODULE_VERSION(ahd_pci, 1); diff --git a/sys/dev/aic7xxx/aic7xxx_osm.c b/sys/dev/aic7xxx/aic7xxx_osm.c index de679ec210a1..73a7c14111c0 100644 --- a/sys/dev/aic7xxx/aic7xxx_osm.c +++ b/sys/dev/aic7xxx/aic7xxx_osm.c @@ -47,8 +47,6 @@ __FBSDID("$FreeBSD$"); #define ccb_scb_ptr spriv_ptr0 -devclass_t ahc_devclass; - #if 0 static void ahc_dump_targcmd(struct target_cmd *cmd); #endif diff --git a/sys/dev/aic7xxx/aic7xxx_osm.h b/sys/dev/aic7xxx/aic7xxx_osm.h index 820ecb563b6b..16e2a30794d0 100644 --- a/sys/dev/aic7xxx/aic7xxx_osm.h +++ b/sys/dev/aic7xxx/aic7xxx_osm.h @@ -68,9 +68,6 @@ #include #include -/*************************** Attachment Bookkeeping ***************************/ -extern devclass_t ahc_devclass; - /****************************** Platform Macros *******************************/ #define SIM_IS_SCSIBUS_B(ahc, sim) \ ((sim) == ahc->platform_data->sim_b)