From nobody Mon May 09 21:47:46 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 DE9A71AC9DB2; Mon, 9 May 2022 21:47:47 +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 4Kxvsv20Zfz3Gnj; Mon, 9 May 2022 21:47:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132867; 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=1dAbHFT7wTGaaaBnPwySqlXSp3/mZ86Swp90qH0xiUU=; b=cbTOhzhsy/G0YM7iLIIA8drgY89VnLignx7VIFW++Vvru2ifAZhQbZdIcZeLmGC1Ra/JMK d9CUK55K6bgIgttHC9Uimik+YJNY5mgTZr5i2/U6DHgpI6JTZQEuapHIFyFaiTcCCFRcke 76PJXQpoSLZ9Z9BcqOjAUXUvc8OjFr7lPxAEo44m8lJ62m/xatt/1mGORcvgr6XBzc6vWf 7miDKMqYXd2hTvxGHTG0lt6MDhnZUOLty9nAPHMYmB64awDcc8FObcz5M0LSgGMnqk2wkN 4iD+pAg+8VO+r29/TYqopvSXTiNFlnFHuLeGkDxwhI0N76e/4tYDYHeMr4yx4Q== 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 C0BDF18F8A; Mon, 9 May 2022 21:47:46 +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 249LlksX080105; Mon, 9 May 2022 21:47:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249LlkSp080104; Mon, 9 May 2022 21:47:46 GMT (envelope-from git) Date: Mon, 9 May 2022 21:47:46 GMT Message-Id: <202205092147.249LlkSp080104@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: b596f9b86093 - main - arm annapurna: 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: b596f9b86093f76807e5bc36e616ae916abce08d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132867; 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=1dAbHFT7wTGaaaBnPwySqlXSp3/mZ86Swp90qH0xiUU=; b=qUdzk4boDBEkuohu61ucLxxx6n2VknVDP9KMpeXiJ1gZgOVqcaJhA/Zg33kmbkzsU8uhlc iYTu3yQgMdvZjYUUvq0e4oJlW/FaMPDFjIe1Z+BSw5rUV0ZYRhza4W3LerdXeKygq5yZcw TkcbUg1+sHCFiiG60cONsI688BgUuU2ZZP5/1Xbrdxn8hp5G1xLPSN2fvL+0mnmcNI6Ujw XK6lqkQQtAIPNElDdzYXc7XVDuTbYkJxvk34bGZhPEEg6wWCfjHmRdSW+MyYjeV2A8dzkI E6BHgg7xzKeFAf/AIrcpPgooZf5dTcboNlJgn74i7EF2IMynC4j3LBVktHEddg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652132867; a=rsa-sha256; cv=none; b=sKjHBDVmXIPhPJf45cvMpMFyjdnDed/wx/v/DlT7IYjNdxWXGR68rpdl4KXnCk0mv53S+d 3Xm6IXZ3IPAciM4cJ9aQwLWiqpc4lRzpgqjwg72xG2AxjRg4uX+qaPePgCYlDrqtd4TCUN 7YtkOkKVwUazkV9v8rqjA3odWxR75ydLozAhVdlfBwaGvZP4Rz1DPl/wi1JP+mY5C906e0 z6TuobRr5KCmw6dCiRQjzkLHTHMX046e3H/aSuCPI8yJmokX1Sf0L51jZZ5/OI1E99+c4C cXdBiBTIwf6QJ2ySooZVQf8KRXOE6adZtweHz4QPJirGB/1NMXgfOZy3rQVsPw== 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=b596f9b86093f76807e5bc36e616ae916abce08d commit b596f9b86093f76807e5bc36e616ae916abce08d Author: John Baldwin AuthorDate: 2022-05-09 21:26:44 +0000 Commit: John Baldwin CommitDate: 2022-05-09 21:26:44 +0000 arm annapurna: Remove unused devclass arguments to DRIVER_MODULE. --- sys/arm/annapurna/alpine/alpine_ccu.c | 10 ++++------ sys/arm/annapurna/alpine/alpine_nb_service.c | 10 ++++------ sys/arm/annapurna/alpine/alpine_pci.c | 6 ++---- sys/arm/annapurna/alpine/alpine_pci_msix.c | 6 ++---- sys/arm/annapurna/alpine/alpine_serdes.c | 8 ++------ 5 files changed, 14 insertions(+), 26 deletions(-) diff --git a/sys/arm/annapurna/alpine/alpine_ccu.c b/sys/arm/annapurna/alpine/alpine_ccu.c index 1e99cb5bf67e..3535ee28d945 100644 --- a/sys/arm/annapurna/alpine/alpine_ccu.c +++ b/sys/arm/annapurna/alpine/alpine_ccu.c @@ -71,12 +71,10 @@ static driver_t al_ccu_driver = { sizeof(struct al_ccu_softc) }; -static devclass_t al_ccu_devclass; - -EARLY_DRIVER_MODULE(al_ccu, simplebus, al_ccu_driver, - al_ccu_devclass, 0, 0, BUS_PASS_CPU + BUS_PASS_ORDER_MIDDLE); -EARLY_DRIVER_MODULE(al_ccu, ofwbus, al_ccu_driver, - al_ccu_devclass, 0, 0, BUS_PASS_CPU + BUS_PASS_ORDER_MIDDLE); +EARLY_DRIVER_MODULE(al_ccu, simplebus, al_ccu_driver, 0, 0, + BUS_PASS_CPU + BUS_PASS_ORDER_MIDDLE); +EARLY_DRIVER_MODULE(al_ccu, ofwbus, al_ccu_driver, 0, 0, + BUS_PASS_CPU + BUS_PASS_ORDER_MIDDLE); static int al_ccu_probe(device_t dev) diff --git a/sys/arm/annapurna/alpine/alpine_nb_service.c b/sys/arm/annapurna/alpine/alpine_nb_service.c index 156d8e406df5..a428b6553652 100644 --- a/sys/arm/annapurna/alpine/alpine_nb_service.c +++ b/sys/arm/annapurna/alpine/alpine_nb_service.c @@ -70,12 +70,10 @@ static driver_t nb_service_driver = { sizeof(struct nb_service_softc) }; -static devclass_t nb_service_devclass; - -EARLY_DRIVER_MODULE(nb_service, simplebus, nb_service_driver, - nb_service_devclass, 0, 0, BUS_PASS_CPU + BUS_PASS_ORDER_MIDDLE); -EARLY_DRIVER_MODULE(nb_service, ofwbus, nb_service_driver, - nb_service_devclass, 0, 0, BUS_PASS_CPU + BUS_PASS_ORDER_MIDDLE); +EARLY_DRIVER_MODULE(nb_service, simplebus, nb_service_driver, 0, 0, + BUS_PASS_CPU + BUS_PASS_ORDER_MIDDLE); +EARLY_DRIVER_MODULE(nb_service, ofwbus, nb_service_driver, 0, 0, + BUS_PASS_CPU + BUS_PASS_ORDER_MIDDLE); static int nb_service_probe(device_t dev) diff --git a/sys/arm/annapurna/alpine/alpine_pci.c b/sys/arm/annapurna/alpine/alpine_pci.c index 043ae19e0cb3..d031587b5283 100644 --- a/sys/arm/annapurna/alpine/alpine_pci.c +++ b/sys/arm/annapurna/alpine/alpine_pci.c @@ -82,10 +82,8 @@ static device_method_t al_pcib_methods[] = { DEFINE_CLASS_1(pcib, al_pcib_driver, al_pcib_methods, sizeof(struct generic_pcie_fdt_softc), generic_pcie_fdt_driver); -static devclass_t anpa_pcib_devclass; - -DRIVER_MODULE(alpine_pcib, simplebus, al_pcib_driver, anpa_pcib_devclass, 0, 0); -DRIVER_MODULE(alpine_pcib, ofwbus, al_pcib_driver, anpa_pcib_devclass, 0, 0); +DRIVER_MODULE(alpine_pcib, simplebus, al_pcib_driver, 0, 0); +DRIVER_MODULE(alpine_pcib, ofwbus, al_pcib_driver, 0, 0); static int al_pcib_probe(device_t dev) diff --git a/sys/arm/annapurna/alpine/alpine_pci_msix.c b/sys/arm/annapurna/alpine/alpine_pci_msix.c index a988a00d1912..d7815ea52da8 100644 --- a/sys/arm/annapurna/alpine/alpine_pci_msix.c +++ b/sys/arm/annapurna/alpine/alpine_pci_msix.c @@ -107,10 +107,8 @@ static driver_t al_msix_driver = { sizeof(struct al_msix_softc), }; -devclass_t al_msix_devclass; - -DRIVER_MODULE(al_msix, ofwbus, al_msix_driver, al_msix_devclass, 0, 0); -DRIVER_MODULE(al_msix, simplebus, al_msix_driver, al_msix_devclass, 0, 0); +DRIVER_MODULE(al_msix, ofwbus, al_msix_driver, 0, 0); +DRIVER_MODULE(al_msix, simplebus, al_msix_driver, 0, 0); MALLOC_DECLARE(M_AL_MSIX); MALLOC_DEFINE(M_AL_MSIX, "al_msix", "Alpine MSIX"); diff --git a/sys/arm/annapurna/alpine/alpine_serdes.c b/sys/arm/annapurna/alpine/alpine_serdes.c index 882b01a8da4f..f0affbc26795 100644 --- a/sys/arm/annapurna/alpine/alpine_serdes.c +++ b/sys/arm/annapurna/alpine/alpine_serdes.c @@ -82,12 +82,8 @@ static driver_t al_serdes_driver = { sizeof(struct al_serdes_softc) }; -static devclass_t al_serdes_devclass; - -DRIVER_MODULE(al_serdes, simplebus, al_serdes_driver, - al_serdes_devclass, 0, 0); -DRIVER_MODULE(al_serdes, ofwbus, al_serdes_driver, - al_serdes_devclass, 0, 0); +DRIVER_MODULE(al_serdes, simplebus, al_serdes_driver, 0, 0); +DRIVER_MODULE(al_serdes, ofwbus, al_serdes_driver, 0, 0); static int al_serdes_probe(device_t dev)