From nobody Mon May 09 21:47:26 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 E46D21AC8D73; Mon, 9 May 2022 21:47:26 +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 4KxvsV4K0Yz3Gf7; Mon, 9 May 2022 21:47:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132846; 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=l3a5PuBIhWvfBc1KME/gQ8LU6BTT2U6PFWNwBITpd18=; b=AFCg9kEjUbTEZnchR5J9fHXf8N23lNHS2apV2sVmgYqJHwljwCbQi1pCiCwxCBNbzmX7z2 CnYNzagRpOaZwvOjK3ofxqktl9BEZjJpmqJnQ6pW2CLBQz51r2R6ge5WKwLLuzNhT42igj w/uFHc8wzWSOxrb4bknDFjWorNuTZ9lBxKafPLn5Ardj0cYBhtPR2Wpl87hAvn+h+vRR0k GI/DEmFN138noVfkDl3yX4xxuAsja5ZvjRblkVlWhxjo1df9q0rnLJssjWPW/QEiUcmKg2 bPOPnWVdV/nbiuuq/XxMBfNx4ybwSxy/KWBfBB1eLPctMuwZSg4yyTR9q4Sn0w== 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 4DF3A18CD2; Mon, 9 May 2022 21:47:26 +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 249LlQIh079643; Mon, 9 May 2022 21:47:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249LlQeF079642; Mon, 9 May 2022 21:47:26 GMT (envelope-from git) Date: Mon, 9 May 2022 21:47:26 GMT Message-Id: <202205092147.249LlQeF079642@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: 0f3a50d5fa97 - main - i386: 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: 0f3a50d5fa97d23e4e9cb96949b629304f83d586 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132846; 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=l3a5PuBIhWvfBc1KME/gQ8LU6BTT2U6PFWNwBITpd18=; b=JupO7c6IVTBTsC4NTuYQ3Wg00cRjBDYbogLESdUzMn9Ku/jQGZtNXQOeYXYbADtyGfvt9r SiaYeSK5y3CrrMSN2otZS4rF+rnmLAGNnHN4iXv2p0ds2BUn7i3IilkyHtktxTia/v9MdT 1WkYzoOw/2uHLPJ6BdV2NVLGCkD20ZzlPedEc2jKR4eqNTghzlvsR7lrsNEcYqvvjL66er lDAsH7mHlZcuGsM8M1N2SitsOgckUSRcWV9WYhWjaQtkFF3J437pDuPJvPiXN+uHPQCb++ kpFR6WchJlE3qViCboXMVgRXuNtpKBXWyTgeTijY1gYKLq6wgeR+ZSEEjtPi3A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652132846; a=rsa-sha256; cv=none; b=Bsamh+d5iizRnGQIC0Wrw+vBuFUq/1QcN5IaUyEsGRyb5EEEGCp0wVJ7xHGP6WEWWNb8g0 n1gpi1ESYrHLosoZAbUIy9FepeaJraoX1wXa2sLy0oiJiZlGH+nTe7sn1iTKAzXXbJvV/f w18jTR04aEWW5SBT6cy8GUr10DElITNvGANr27lz8HZtPKeE8943wJtcfWKnW1eIIQiZSD b+qcQSzD/UY/88XQuF9h99mePA0xGOnD5Z8HbOvOi3/Xnld28D/6lWYPq/qNNmryin6zb0 NU46kil2WDdMTE4of9kRrYYyUQwycX52juytR3Qc8SUa8AXD/PDxvueqRChfUA== 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=0f3a50d5fa97d23e4e9cb96949b629304f83d586 commit 0f3a50d5fa97d23e4e9cb96949b629304f83d586 Author: John Baldwin AuthorDate: 2022-05-09 21:26:43 +0000 Commit: John Baldwin CommitDate: 2022-05-09 21:26:43 +0000 i386: Remove unused devclass arguments to DRIVER_MODULE. --- sys/i386/acpica/acpi_machdep.c | 3 +-- sys/i386/bios/smapi.c | 4 +--- sys/i386/i386/bios.c | 4 +--- sys/i386/i386/mp_clock.c | 4 +--- sys/i386/i386/npx.c | 6 ++---- sys/i386/pci/pci_pir.c | 4 +--- 6 files changed, 7 insertions(+), 18 deletions(-) diff --git a/sys/i386/acpica/acpi_machdep.c b/sys/i386/acpica/acpi_machdep.c index ca18b6d11f68..82138e61f14c 100644 --- a/sys/i386/acpica/acpi_machdep.c +++ b/sys/i386/acpica/acpi_machdep.c @@ -304,6 +304,5 @@ static device_method_t nexus_acpi_methods[] = { }; DEFINE_CLASS_1(nexus, nexus_acpi_driver, nexus_acpi_methods, 1, nexus_driver); -static devclass_t nexus_devclass; -DRIVER_MODULE(nexus_acpi, root, nexus_acpi_driver, nexus_devclass, 0, 0); +DRIVER_MODULE(nexus_acpi, root, nexus_acpi_driver, 0, 0); diff --git a/sys/i386/bios/smapi.c b/sys/i386/bios/smapi.c index 719d9b9558dc..aebe656e9102 100644 --- a/sys/i386/bios/smapi.c +++ b/sys/i386/bios/smapi.c @@ -74,8 +74,6 @@ struct smapi_softc { extern u_long smapi32_offset; extern u_short smapi32_segment; -devclass_t smapi_devclass; - static d_ioctl_t smapi_ioctl; static struct cdevsw smapi_cdevsw = { @@ -318,5 +316,5 @@ smapi_modevent (module_t mod, int what, void *arg) return (0); } -DRIVER_MODULE(smapi, nexus, smapi_driver, smapi_devclass, smapi_modevent, 0); +DRIVER_MODULE(smapi, nexus, smapi_driver, smapi_modevent, NULL); MODULE_VERSION(smapi, 1); diff --git a/sys/i386/i386/bios.c b/sys/i386/i386/bios.c index 48cf1ad9ade1..a4786a9d7563 100644 --- a/sys/i386/i386/bios.c +++ b/sys/i386/i386/bios.c @@ -721,7 +721,5 @@ static driver_t pnpbios_driver = { 1, /* no softc */ }; -static devclass_t pnpbios_devclass; - -DRIVER_MODULE(pnpbios, isa, pnpbios_driver, pnpbios_devclass, 0, 0); +DRIVER_MODULE(pnpbios, isa, pnpbios_driver, 0, 0); #endif /* DEV_ISA */ diff --git a/sys/i386/i386/mp_clock.c b/sys/i386/i386/mp_clock.c index 7b0fd9918624..4405d2e79bc3 100644 --- a/sys/i386/i386/mp_clock.c +++ b/sys/i386/i386/mp_clock.c @@ -148,6 +148,4 @@ static driver_t piix_driver = { 1, }; -static devclass_t piix_devclass; - -DRIVER_MODULE(piix, pci, piix_driver, piix_devclass, 0, 0); +DRIVER_MODULE(piix, pci, piix_driver, 0, 0); diff --git a/sys/i386/i386/npx.c b/sys/i386/i386/npx.c index 307099925f23..f18c75a4a576 100644 --- a/sys/i386/i386/npx.c +++ b/sys/i386/i386/npx.c @@ -1347,10 +1347,8 @@ static driver_t npxisa_driver = { 1, /* no softc */ }; -static devclass_t npxisa_devclass; - -DRIVER_MODULE(npxisa, isa, npxisa_driver, npxisa_devclass, 0, 0); -DRIVER_MODULE(npxisa, acpi, npxisa_driver, npxisa_devclass, 0, 0); +DRIVER_MODULE(npxisa, isa, npxisa_driver, 0, 0); +DRIVER_MODULE(npxisa, acpi, npxisa_driver, 0, 0); ISA_PNP_INFO(npxisa_ids); #endif /* DEV_ISA */ diff --git a/sys/i386/pci/pci_pir.c b/sys/i386/pci/pci_pir.c index 0d2257d526fe..c17319e99491 100644 --- a/sys/i386/pci/pci_pir.c +++ b/sys/i386/pci/pci_pir.c @@ -740,6 +740,4 @@ static driver_t pir_driver = { 1, }; -static devclass_t pir_devclass; - -DRIVER_MODULE(pir, legacy, pir_driver, pir_devclass, 0, 0); +DRIVER_MODULE(pir, legacy, pir_driver, 0, 0);