From nobody Tue May 10 17:36:25 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 629A91AD0709; Tue, 10 May 2022 17:36: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 4KyQFP5skTz4hfp; Tue, 10 May 2022 17:36:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204186; 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=C8eCLUlk0yiOARFvM0nbD+Wz0NuvNywvyp8L2HBpBDs=; b=xhoxpXusFQJGZq11sudk+rxkbsXFn7XFIDeIk16lD7liyxlsD8P8KvU9ieX8Q9GX+k6WF/ PRENhDxGi/DRseGc2mwGXq/XZ6qHIRdFLHXOnEWWTZ5CHZqiqgQcvQABjAV7xLYDsP478A PHG+uu5RNPHGHHjRXqJnL8INA/aYt4X2zKL6cl1clOEsPMOh0chFtzki4YoTxwbw5CUCdq hQhc0ubHwQ7iF+tL744Ksz7dYDWbix3uQtxGPWPVkNkR3H8zs34vyLv7WFqW1R5daUP7FW BOPGw6dm9HOoZ9pgZvtkYtR5eIBokS3eO3LgqmQSevhT6GSNJfNUHSgmObapew== 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 937C21C8B; Tue, 10 May 2022 17:36:25 +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 24AHaP3G099082; Tue, 10 May 2022 17:36:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24AHaPex099081; Tue, 10 May 2022 17:36:25 GMT (envelope-from git) Date: Tue, 10 May 2022 17:36:25 GMT Message-Id: <202205101736.24AHaPex099081@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: c331b0e4a383 - main - powerpc ps3: Remove unused devclass arguments to DRIVER_MODULE. 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: c331b0e4a3835bb5076b6735e12d2eaa45806e6b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204186; 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=C8eCLUlk0yiOARFvM0nbD+Wz0NuvNywvyp8L2HBpBDs=; b=B9FaUDC2Y+amPhcRT0TLMrkmqnbDWzD1MDp/05dNF5ToeqK7Ixtz1yVZYZWB1v5K0YIz9+ lm71x4trQ2C6qW1fs6QrAr/RUxp/L8hb6p1sfYW3XonuUMuTTPrihT8iNvx68L54u4CtXT ikNn1XKF0eaSF7rSAW7WDHHwVxnPRUVAq7OYhQSE9p8GkH2EpzIS3gBiYoLTuin6MgR3Dc ynToouEhkNyFUI+xaGJrv/a86AbSQJo68CBFcxPqmx4aDwEPzc+/zyJ0JdoFKZ34ndIq+L XkYetTdgrzP54SGc4N5445C7sk1+qHEmfgPSi+uHyBQxvfxAJ8TOfWLdSgZ8Xw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652204186; a=rsa-sha256; cv=none; b=c+mEaDzKQznFWiizsuofxOG417HvfWTbbcgKoY+nubyZZqC4fGDY9AphFIdD+xogzCRweY aXrCN8AyeUG/qg7BgCNqM46fbmGHMrfN9SigT3x2IOhcuSIYAcpousrrZqqZhcM7eye/QC wDt63HdwC1z4W1GfdhzQc1dt5Zw+CzxrJJYSZJcEeytxrh5732Z70qjcvJOb8doqiWTivH 5UGI72Vbm5wRuSvS6AQsPj8ecCFQR8Njp3v6mluNxmoGpfWJNN+XQV/CCUeS2KC0yaV61B 0iWS3pWWAtbtbqXLAyRbG4OJB8YUByOgcyyh+ONiv5OOcEmgfU3JECXy4FXyOw== 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=c331b0e4a3835bb5076b6735e12d2eaa45806e6b commit c331b0e4a3835bb5076b6735e12d2eaa45806e6b Author: John Baldwin AuthorDate: 2022-05-10 17:21:38 +0000 Commit: John Baldwin CommitDate: 2022-05-10 17:21:38 +0000 powerpc ps3: Remove unused devclass arguments to DRIVER_MODULE. --- sys/powerpc/ps3/ehci_ps3.c | 4 +--- sys/powerpc/ps3/if_glc.c | 4 +--- sys/powerpc/ps3/ohci_ps3.c | 4 +--- sys/powerpc/ps3/ps3bus.c | 4 +--- sys/powerpc/ps3/ps3cdrom.c | 4 +--- sys/powerpc/ps3/ps3disk.c | 4 +--- sys/powerpc/ps3/ps3pic.c | 4 +--- 7 files changed, 7 insertions(+), 21 deletions(-) diff --git a/sys/powerpc/ps3/ehci_ps3.c b/sys/powerpc/ps3/ehci_ps3.c index de91347d8593..604539cbadd0 100644 --- a/sys/powerpc/ps3/ehci_ps3.c +++ b/sys/powerpc/ps3/ehci_ps3.c @@ -180,7 +180,5 @@ static driver_t ehci_ps3_driver = { .size = sizeof(ehci_softc_t), }; -static devclass_t ehci_ps3_devclass; - -DRIVER_MODULE(ehci_ps3, ps3bus, ehci_ps3_driver, ehci_ps3_devclass, 0, 0); +DRIVER_MODULE(ehci_ps3, ps3bus, ehci_ps3_driver, 0, 0); MODULE_DEPEND(ehci_ps3, usb, 1, 1, 1); diff --git a/sys/powerpc/ps3/if_glc.c b/sys/powerpc/ps3/if_glc.c index 39aed8218411..b3e7048a63b2 100644 --- a/sys/powerpc/ps3/if_glc.c +++ b/sys/powerpc/ps3/if_glc.c @@ -92,9 +92,7 @@ static driver_t glc_driver = { sizeof(struct glc_softc) }; -static devclass_t glc_devclass; - -DRIVER_MODULE(glc, ps3bus, glc_driver, glc_devclass, 0, 0); +DRIVER_MODULE(glc, ps3bus, glc_driver, 0, 0); static int glc_probe(device_t dev) diff --git a/sys/powerpc/ps3/ohci_ps3.c b/sys/powerpc/ps3/ohci_ps3.c index 1a2e64b2a1c3..aeea52aa4bd0 100644 --- a/sys/powerpc/ps3/ohci_ps3.c +++ b/sys/powerpc/ps3/ohci_ps3.c @@ -167,7 +167,5 @@ static driver_t ohci_ps3_driver = { .size = sizeof(ohci_softc_t), }; -static devclass_t ohci_ps3_devclass; - -DRIVER_MODULE(ohci_ps3, ps3bus, ohci_ps3_driver, ohci_ps3_devclass, 0, 0); +DRIVER_MODULE(ohci_ps3, ps3bus, ohci_ps3_driver, 0, 0); MODULE_DEPEND(ohci_ps3, usb, 1, 1, 1); diff --git a/sys/powerpc/ps3/ps3bus.c b/sys/powerpc/ps3/ps3bus.c index 2cb4a85db58e..180406e45212 100644 --- a/sys/powerpc/ps3/ps3bus.c +++ b/sys/powerpc/ps3/ps3bus.c @@ -141,9 +141,7 @@ static driver_t ps3bus_driver = { sizeof(struct ps3bus_softc) }; -static devclass_t ps3bus_devclass; - -DRIVER_MODULE(ps3bus, nexus, ps3bus_driver, ps3bus_devclass, 0, 0); +DRIVER_MODULE(ps3bus, nexus, ps3bus_driver, 0, 0); static void ps3bus_identify(driver_t *driver, device_t parent) diff --git a/sys/powerpc/ps3/ps3cdrom.c b/sys/powerpc/ps3/ps3cdrom.c index 2f9b193e9af4..157c4ee8e5c0 100644 --- a/sys/powerpc/ps3/ps3cdrom.c +++ b/sys/powerpc/ps3/ps3cdrom.c @@ -705,7 +705,5 @@ static driver_t ps3cdrom_driver = { sizeof(struct ps3cdrom_softc), }; -static devclass_t ps3cdrom_devclass; - -DRIVER_MODULE(ps3cdrom, ps3bus, ps3cdrom_driver, ps3cdrom_devclass, 0, 0); +DRIVER_MODULE(ps3cdrom, ps3bus, ps3cdrom_driver, 0, 0); MODULE_DEPEND(ps3cdrom, cam, 1, 1, 1); diff --git a/sys/powerpc/ps3/ps3disk.c b/sys/powerpc/ps3/ps3disk.c index fc972fb9b65c..33d4924301a8 100644 --- a/sys/powerpc/ps3/ps3disk.c +++ b/sys/powerpc/ps3/ps3disk.c @@ -698,6 +698,4 @@ static driver_t ps3disk_driver = { sizeof(struct ps3disk_softc), }; -static devclass_t ps3disk_devclass; - -DRIVER_MODULE(ps3disk, ps3bus, ps3disk_driver, ps3disk_devclass, 0, 0); +DRIVER_MODULE(ps3disk, ps3bus, ps3disk_driver, 0, 0); diff --git a/sys/powerpc/ps3/ps3pic.c b/sys/powerpc/ps3/ps3pic.c index 423c137fb7f3..cbc51959b4f3 100644 --- a/sys/powerpc/ps3/ps3pic.c +++ b/sys/powerpc/ps3/ps3pic.c @@ -91,9 +91,7 @@ static driver_t ps3pic_driver = { sizeof(struct ps3pic_softc) }; -static devclass_t ps3pic_devclass; - -DRIVER_MODULE(ps3pic, nexus, ps3pic_driver, ps3pic_devclass, 0, 0); +DRIVER_MODULE(ps3pic, nexus, ps3pic_driver, 0, 0); static MALLOC_DEFINE(M_PS3PIC, "ps3pic", "PS3 PIC");