From nobody Fri May 06 23:25:37 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 13C681AD1D69; Fri, 6 May 2022 23:25:39 +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 4Kw6B96RJNz3FXn; Fri, 6 May 2022 23:25:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651879538; 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=aMHb6Syi6cLpzYmgohwSZu9t+NYe3MwBiqIKrSquC4A=; b=fjblOuo2WtG32o9QISc0h6bpEax/guFZv6dPMGofYC+6REgb/pv4HxzNzRgKDoXGffhmBl D+Y70vOt+b6FLqpR0l+xFxehyOmMMnFttC2Av2zeSFZ9Fm6bp0NKqcJ3D/CbTx029Kneiw l8hi06wdxIJzJnby10ro0kn63DDxOnfSD4VkBooyMgHCA2rhP42QBQs+nH5aIj2FIGxpKY H64WbYWNv+EsQvq99tzVPbxxjpMullKoTJ4rYJ/HJxCutoJRzr2hw2EHWkqSOMtK3LPcfy rB72parhUwDHC2zGnBy6gmMPRnV76RqoWfgXpSUQiaXuhNLIL87mfgqR3E0igw== 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 7C2C925053; Fri, 6 May 2022 23:25:37 +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 246NPbNu076121; Fri, 6 May 2022 23:25:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246NPbtc076120; Fri, 6 May 2022 23:25:37 GMT (envelope-from git) Date: Fri, 6 May 2022 23:25:37 GMT Message-Id: <202205062325.246NPbtc076120@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: be2750862d95 - main - isa: 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: be2750862d95eb4536d68c360c9e635c3f9bc9d4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651879538; 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=aMHb6Syi6cLpzYmgohwSZu9t+NYe3MwBiqIKrSquC4A=; b=Vk/ZBleNPqKdi/KWLHcA38TxVLLKktg79vImmI8sxb4inJj7tKrYv5QtLhGq6UKwUAxJRd zKKx5u6ACoVAm3hHPaTlwCrLdmh2p+uO9U70OmCVURgH6qsB1u9/AbKYPBOPUxm20e7dUC igUNG5jVZUVk/Z+i6kajH7akO4SBbs/AV1p8WMmDevtLZIoFx/rjL8ZaBRjYRUmfq4mW1E g69H5j7yAlmi0+rNsLr2NOyBp3NPItQIgF6OY6thqjq7BoofMA3czHzOLqspmT8BwlaVfT jutrFK0n+FjmH5LsvEEvthH6h51NyYyNUlES6/4IX/Q4V/mSqCL4/6FihA5MTQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651879538; a=rsa-sha256; cv=none; b=YdOP6uJHdyyLh7g7lxOc4Wpybu2oZOfkMXG3GaD0s3SLVHiuNun33u/C7UNBtGTDFTfeY/ xJgtiHyPBoBBsrpmgSNNCvTKXh5sQwR5kXlqqR0TgveFUDy0p2yzlIJDuhKv2BWYqPp7Tu T56Q7DrKWwxkQD0HROTti0Oi/AXTdO6+h0zKxeMq/9/fuqosXj87H6UMKZ4oXhCInPPMVY Q2gXeSp/5K7QvyTdGfJi2bM0F+5VqaI0I/LB1UPrDL+sxz5bZBQzQKUa/JCex3pyOJ1B8e vbTxQGigtbo+kgjZAdyLWfVRpewGF9OOQJtA+0+S5PXga3VS9ItKaMfHyGuZDA== 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=be2750862d95eb4536d68c360c9e635c3f9bc9d4 commit be2750862d95eb4536d68c360c9e635c3f9bc9d4 Author: John Baldwin AuthorDate: 2022-05-06 22:46:59 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:46:59 +0000 isa: Remove unused devclass arguments to DRIVER_MODULE. --- sys/isa/pnp.c | 4 +--- sys/isa/syscons_isa.c | 4 +--- sys/isa/vga_isa.c | 8 ++------ 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/sys/isa/pnp.c b/sys/isa/pnp.c index c2c66e08c208..462814616cca 100644 --- a/sys/isa/pnp.c +++ b/sys/isa/pnp.c @@ -767,6 +767,4 @@ static driver_t pnp_driver = { 1, /* no softc */ }; -static devclass_t pnp_devclass; - -DRIVER_MODULE(pnp, isa, pnp_driver, pnp_devclass, 0, 0); +DRIVER_MODULE(pnp, isa, pnp_driver, 0, 0); diff --git a/sys/isa/syscons_isa.c b/sys/isa/syscons_isa.c index 862b6f31c62c..77d09d848daf 100644 --- a/sys/isa/syscons_isa.c +++ b/sys/isa/syscons_isa.c @@ -62,8 +62,6 @@ __FBSDID("$FreeBSD$"); #include -static devclass_t sc_devclass; - static sc_softc_t main_softc; static void @@ -230,4 +228,4 @@ static driver_t sc_driver = { sizeof(sc_softc_t), }; -DRIVER_MODULE(sc, isa, sc_driver, sc_devclass, 0, 0); +DRIVER_MODULE(sc, isa, sc_driver, 0, 0); diff --git a/sys/isa/vga_isa.c b/sys/isa/vga_isa.c index ac628922148d..64fc80700d9e 100644 --- a/sys/isa/vga_isa.c +++ b/sys/isa/vga_isa.c @@ -131,8 +131,6 @@ vga_resume(device_t dev) } } -static devclass_t isavga_devclass; - static void isavga_identify(driver_t *driver, device_t parent) { @@ -239,9 +237,7 @@ static driver_t isavga_driver = { sizeof(vga_softc_t), }; -DRIVER_MODULE(vga, isa, isavga_driver, isavga_devclass, 0, 0); - -static devclass_t vgapm_devclass; +DRIVER_MODULE(vga, isa, isavga_driver, 0, 0); static void vgapm_identify(driver_t *driver, device_t parent) @@ -315,5 +311,5 @@ static driver_t vgapm_driver = { 0 }; -DRIVER_MODULE(vgapm, vgapci, vgapm_driver, vgapm_devclass, 0, 0); +DRIVER_MODULE(vgapm, vgapci, vgapm_driver, 0, 0); ISA_PNP_INFO(vga_ids);