From nobody Tue May 10 17:36: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 16C1F1AD138E; Tue, 10 May 2022 17:36:38 +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 4KyQFd2RPMz4hjv; Tue, 10 May 2022 17:36:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204197; 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=TRqqjXp586Z8XRV6M1GxZiTzTE+N6lMKKPiXow923wg=; b=NnuHzeamD2WEgATX0DdPAgyGeFvr8eqtLprYNmLBsUQiXguijTf5JVVIEv0OrEML4yWPGv eDRpCSls1vyx4ZThpKVi8vpBpbksv5sLxiISaM8N1bPw00nicUQLRNFP7vneZbWEwmKXAt jzlKOdE4DNp1LswdobR1ntugCfIzbMOBdD7gQUdyAgmngnwu6ZPS/xKQ12/uff+yYpKLvu UKUhcbLqAvj4mfI/GNw5GhL50cmwuyR78zShmJrxMbv4z238mMe9bJA5YJ79axnUn9ohjA AqVibv/d8N2XZtk7UEGAKhhyLAo89PcXJEeYcKjmyVBwD1CbTUrbYs6KBasfTA== 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 1E3E31D08; Tue, 10 May 2022 17:36: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 24AHab5N099334; Tue, 10 May 2022 17:36:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24AHabgA099333; Tue, 10 May 2022 17:36:37 GMT (envelope-from git) Date: Tue, 10 May 2022 17:36:37 GMT Message-Id: <202205101736.24AHabgA099333@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: d1524801c3ba - main - dpaa: 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: d1524801c3ba25b1b54f0ac11fb0ab0e81dba198 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204197; 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=TRqqjXp586Z8XRV6M1GxZiTzTE+N6lMKKPiXow923wg=; b=xBOrtH4XmjE6hmKsVcfCtkz2WK4ZgSlPnYZbg3GB3U5sYdHm8QZIYLrkfNz1HiRnYaGB7w lYUXnIZ1Tid2pf+jGbzxv/e41p0Wo0mBsHwZW52dD+n66nj6IkkJkB4qBcO2i+rhK+MKgJ o1MuDbfLQJzQR36OOzriD2t6qSh3ce5gp833zXjYmMW0CUxX4QK+i97O5FxgkGd+wTOS4u EkqsawEzfBeSuxhUXmIeF0SPNBpgvk9iEVx/6YQ82OtVMNbRi+jCq46RUscisKeX2nFeqk 4s2VrdcyEci3gJU0oopsPHYp8uOFj/yajUbl8jWDZcQryqIJFFxhrVxNLKXsJQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652204197; a=rsa-sha256; cv=none; b=NGPNg2RbU00EA0odE7d49mz11ALxrWXS/+MgorXLe+lTj62QB5Zl/PO3KjJu/xFMbSoByz zdTrNchxMwCDFUxUhqKnkrN+NqdctkIZU9XHVbHGYq4yTzv5jelAXq1VcukIMGhyCRQfMy kmhZtvY3gEZ44fv0P+/G62Jn1bnIJA84DJhNlGMSueU7UVYca96bHerJc7NOVHZaftDBrl 1E5fbHvC6tO54fBVdihkA9aBK9FfMw5UI9Zq/qrbFz4aATGyyw0eSlXC/KSZoVWTdvTPQk as+zYiALWj7ysGpbebhl65wPg0jFu1RYN5Qg0ZuAGpmOMT5UqPTOgLHmtrgAqA== 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=d1524801c3ba25b1b54f0ac11fb0ab0e81dba198 commit d1524801c3ba25b1b54f0ac11fb0ab0e81dba198 Author: John Baldwin AuthorDate: 2022-05-10 17:21:39 +0000 Commit: John Baldwin CommitDate: 2022-05-10 17:21:39 +0000 dpaa: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/dpaa/bman_fdt.c | 9 +++------ sys/dev/dpaa/fman_fdt.c | 3 +-- sys/dev/dpaa/fman_mdio.c | 3 +-- sys/dev/dpaa/if_dtsec_fdt.c | 3 +-- sys/dev/dpaa/qman_fdt.c | 9 +++------ 5 files changed, 9 insertions(+), 18 deletions(-) diff --git a/sys/dev/dpaa/bman_fdt.c b/sys/dev/dpaa/bman_fdt.c index 1e7bce6be43c..d3f65b5b692a 100644 --- a/sys/dev/dpaa/bman_fdt.c +++ b/sys/dev/dpaa/bman_fdt.c @@ -67,9 +67,7 @@ static driver_t bman_driver = { sizeof(struct bman_softc), }; -static devclass_t bman_devclass; -EARLY_DRIVER_MODULE(bman, simplebus, bman_driver, bman_devclass, 0, 0, - BUS_PASS_SUPPORTDEV); +EARLY_DRIVER_MODULE(bman, simplebus, bman_driver, 0, 0, BUS_PASS_SUPPORTDEV); static int bman_fdt_probe(device_t dev) @@ -106,9 +104,8 @@ static driver_t bm_portals_driver = { sizeof(struct dpaa_portals_softc), }; -static devclass_t bm_portals_devclass; -EARLY_DRIVER_MODULE(bman_portals, ofwbus, bm_portals_driver, - bm_portals_devclass, 0, 0, BUS_PASS_BUS); +EARLY_DRIVER_MODULE(bman_portals, ofwbus, bm_portals_driver, 0, 0, + BUS_PASS_BUS); static void get_addr_props(phandle_t node, uint32_t *addrp, uint32_t *sizep) diff --git a/sys/dev/dpaa/fman_fdt.c b/sys/dev/dpaa/fman_fdt.c index 6f7950f308c4..b6234179b382 100644 --- a/sys/dev/dpaa/fman_fdt.c +++ b/sys/dev/dpaa/fman_fdt.c @@ -64,8 +64,7 @@ static device_method_t fman_methods[] = { DEFINE_CLASS_1(fman, fman_driver, fman_methods, sizeof(struct fman_softc), simplebus_driver); -static devclass_t fman_devclass; -EARLY_DRIVER_MODULE(fman, simplebus, fman_driver, fman_devclass, 0, 0, +EARLY_DRIVER_MODULE(fman, simplebus, fman_driver, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE); diff --git a/sys/dev/dpaa/fman_mdio.c b/sys/dev/dpaa/fman_mdio.c index 7f5b4761b098..fcaca5c580c9 100644 --- a/sys/dev/dpaa/fman_mdio.c +++ b/sys/dev/dpaa/fman_mdio.c @@ -204,8 +204,7 @@ pqmdio_miibus_writereg(device_t dev, int phy, int reg, int value) return (0); } -static devclass_t pqmdio_devclass; -DRIVER_MODULE(pqmdio, fman, pqmdio_driver, pqmdio_devclass, 0, 0); +DRIVER_MODULE(pqmdio, fman, pqmdio_driver, 0, 0); DRIVER_MODULE(miibus, pqmdio, miibus_driver, 0, 0); MODULE_DEPEND(pqmdio, miibus, 1, 1, 1); diff --git a/sys/dev/dpaa/if_dtsec_fdt.c b/sys/dev/dpaa/if_dtsec_fdt.c index 65010dc38f5e..67f34683b66a 100644 --- a/sys/dev/dpaa/if_dtsec_fdt.c +++ b/sys/dev/dpaa/if_dtsec_fdt.c @@ -89,8 +89,7 @@ static driver_t dtsec_driver = { sizeof(struct dtsec_softc), }; -static devclass_t dtsec_devclass; -DRIVER_MODULE(dtsec, fman, dtsec_driver, dtsec_devclass, 0, 0); +DRIVER_MODULE(dtsec, fman, dtsec_driver, 0, 0); DRIVER_MODULE(miibus, dtsec, miibus_driver, 0, 0); MODULE_DEPEND(dtsec, ether, 1, 1, 1); MODULE_DEPEND(dtsec, miibus, 1, 1, 1); diff --git a/sys/dev/dpaa/qman_fdt.c b/sys/dev/dpaa/qman_fdt.c index bb40f724e7f1..3273b7e5a2da 100644 --- a/sys/dev/dpaa/qman_fdt.c +++ b/sys/dev/dpaa/qman_fdt.c @@ -67,9 +67,7 @@ static driver_t qman_driver = { sizeof(struct qman_softc), }; -static devclass_t qman_devclass; -EARLY_DRIVER_MODULE(qman, simplebus, qman_driver, qman_devclass, 0, 0, - BUS_PASS_SUPPORTDEV); +EARLY_DRIVER_MODULE(qman, simplebus, qman_driver, 0, 0, BUS_PASS_SUPPORTDEV); static int qman_fdt_probe(device_t dev) @@ -106,9 +104,8 @@ static driver_t qm_portals_driver = { sizeof(struct dpaa_portals_softc), }; -static devclass_t qm_portals_devclass; -EARLY_DRIVER_MODULE(qman_portals, ofwbus, qm_portals_driver, - qm_portals_devclass, 0, 0, BUS_PASS_BUS); +EARLY_DRIVER_MODULE(qman_portals, ofwbus, qm_portals_driver, 0, 0, + BUS_PASS_BUS); static void get_addr_props(phandle_t node, uint32_t *addrp, uint32_t *sizep)