From nobody Tue May 10 17:36:31 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 3F2491AD0D52; Tue, 10 May 2022 17:36:33 +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 4KyQFW4DVRz4hwM; Tue, 10 May 2022 17:36:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204193; 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=l2vizeDQzUCdYALWBMygfwY+9QAAC8t9YLJq7aXqUaA=; b=kdUZNyXOIKcnPRh7NlwFGDNjvQ2FA76RlpqvuJNOKWJYkdiGbNIXhyaBdfLoRfVtrXfhC2 9KD5oVW7AnnKEL39jPhCYS4A6NRmjlw4UTmtIKEX9H3rSgmDRh7ZyX+1aoBOmqL3UQ1yxh A9mrOR/iy4PE1LHfA1Jur9GXSk4zxUD7OU4VSQUsSRzIHKq96bpO6/IfUOY2YgaBW+Lvxf 20zdLcYZg+y514YYhQUjm0KnPsSsgr1CsnSBNktbrSJF4ejTnT6ENA0dA/C/gctlkblorY /Gz4KVw6Yc3LfPiu+29Q57ilH27uT0Qj5qCMCsBlVFxHwvDgMnCu/VQ7nxb+Cw== 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 5826B1B37; Tue, 10 May 2022 17:36:31 +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 24AHaVjl099208; Tue, 10 May 2022 17:36:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24AHaV0T099207; Tue, 10 May 2022 17:36:31 GMT (envelope-from git) Date: Tue, 10 May 2022 17:36:31 GMT Message-Id: <202205101736.24AHaV0T099207@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: 2ded2b9a2b4f - main - beri: 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: 2ded2b9a2b4f30a02f798c47280840837b1bf3ff Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204193; 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=l2vizeDQzUCdYALWBMygfwY+9QAAC8t9YLJq7aXqUaA=; b=XBsrSmIHUs1LyGAJ3uFCRowQS5qK/AZcOEiPYAO+5KI4HBoWbAlCUN8Hueb9VA07rrzXoT QPUW1kij2GQXodBdRIRNqW8XbBrI/2+QNGku+OOo2bhZoE7cvLuJZ5DuKsOAh3A3uYzIbm o0Q7U8/2fiU7ng3rBtdBWHQjdJJFfgF9/G36EF+EHfA/fW4gTZ3gQ5JX5oOgiIxTaaFxi+ GTGsFuZEBe3PLDU4tFEZmOMzoagSKRAErfKTImoIgUL7WYTXjr8z25SSjuOHT9lMTjJwTQ r3UlNH5IumgGSaMWCAznuyI5f+JHvioU6p8fFFMw5LAaX3OjYmsG012T69V52g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652204193; a=rsa-sha256; cv=none; b=LSXsPNDO22rK5BmIvTb7UJ4jKKJxfVVJiG5iJdCjJ6Duxji2u5vV2x6wj4lA5nPbZlmtXe QL5AGdpZ2R0auLIfWTAK/0d7bUPxREk8UI1fpq4ZKreKTfO6hHGHavbw1fPkFtsxPHpwYi v6rdkj7gyyU98beqvNhlzDXtc4D3c/4wL+OnW4ozySFDftdhva39fJnu6h52AIU4lJ25zA F7I7cmLZ0YalFaZiu2PuVPIzu+2Zqt8CW5/K0RTGdH3xwOXCZ7YHnXAipR4y+lSgC7PRTP E64oikHknz1yYPaLUwqpmgTpXOrcHE6Vud4zrfPQG4gRhU4GmwgOudP0NFCfqA== 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=2ded2b9a2b4f30a02f798c47280840837b1bf3ff commit 2ded2b9a2b4f30a02f798c47280840837b1bf3ff Author: John Baldwin AuthorDate: 2022-05-10 17:21:39 +0000 Commit: John Baldwin CommitDate: 2022-05-10 17:21:39 +0000 beri: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/beri/beri_mem.c | 4 +--- sys/dev/beri/beri_ring.c | 4 +--- sys/dev/beri/virtio/network/if_vtbe.c | 4 +--- sys/dev/beri/virtio/virtio_block.c | 5 +---- sys/dev/beri/virtio/virtio_mmio_platform.c | 4 +--- 5 files changed, 5 insertions(+), 16 deletions(-) diff --git a/sys/dev/beri/beri_mem.c b/sys/dev/beri/beri_mem.c index ed218efb4cac..4aae7cb8f458 100644 --- a/sys/dev/beri/beri_mem.c +++ b/sys/dev/beri/beri_mem.c @@ -181,6 +181,4 @@ static driver_t beri_mem_driver = { sizeof(struct beri_mem_softc), }; -static devclass_t beri_mem_devclass; - -DRIVER_MODULE(beri_mem, simplebus, beri_mem_driver, beri_mem_devclass, 0, 0); +DRIVER_MODULE(beri_mem, simplebus, beri_mem_driver, 0, 0); diff --git a/sys/dev/beri/beri_ring.c b/sys/dev/beri/beri_ring.c index 0f97f903e49c..73509920eea6 100644 --- a/sys/dev/beri/beri_ring.c +++ b/sys/dev/beri/beri_ring.c @@ -524,6 +524,4 @@ static driver_t beri_driver = { sizeof(struct beri_softc), }; -static devclass_t beri_devclass; - -DRIVER_MODULE(beri_ring, simplebus, beri_driver, beri_devclass, 0, 0); +DRIVER_MODULE(beri_ring, simplebus, beri_driver, 0, 0); diff --git a/sys/dev/beri/virtio/network/if_vtbe.c b/sys/dev/beri/virtio/network/if_vtbe.c index 5959b621954b..263c0b334447 100644 --- a/sys/dev/beri/virtio/network/if_vtbe.c +++ b/sys/dev/beri/virtio/network/if_vtbe.c @@ -648,7 +648,5 @@ static driver_t vtbe_driver = { sizeof(struct vtbe_softc), }; -static devclass_t vtbe_devclass; - -DRIVER_MODULE(vtbe, simplebus, vtbe_driver, vtbe_devclass, 0, 0); +DRIVER_MODULE(vtbe, simplebus, vtbe_driver, 0, 0); MODULE_DEPEND(vtbe, ether, 1, 1, 1); diff --git a/sys/dev/beri/virtio/virtio_block.c b/sys/dev/beri/virtio/virtio_block.c index b9f5e3175cc8..f3de5646f67d 100644 --- a/sys/dev/beri/virtio/virtio_block.c +++ b/sys/dev/beri/virtio/virtio_block.c @@ -553,7 +553,4 @@ static driver_t beri_vtblk_driver = { sizeof(struct beri_vtblk_softc), }; -static devclass_t beri_vtblk_devclass; - -DRIVER_MODULE(beri_vtblk, simplebus, beri_vtblk_driver, - beri_vtblk_devclass, 0, 0); +DRIVER_MODULE(beri_vtblk, simplebus, beri_vtblk_driver, 0, 0); diff --git a/sys/dev/beri/virtio/virtio_mmio_platform.c b/sys/dev/beri/virtio/virtio_mmio_platform.c index 813674ca7b5d..706f0db25540 100644 --- a/sys/dev/beri/virtio/virtio_mmio_platform.c +++ b/sys/dev/beri/virtio/virtio_mmio_platform.c @@ -306,7 +306,5 @@ static driver_t virtio_mmio_platform_driver = { sizeof(struct virtio_mmio_platform_softc), }; -static devclass_t virtio_mmio_platform_devclass; - DRIVER_MODULE(virtio_mmio_platform, simplebus, virtio_mmio_platform_driver, - virtio_mmio_platform_devclass, 0, 0); + 0, 0);