From nobody Tue May 10 17:36:48 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 B565D1AD1B33; Tue, 10 May 2022 17:36:49 +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 4KyQFr62Sgz4j9m; Tue, 10 May 2022 17:36:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204209; 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=cxveJkK82PUi5Y5Dj+Fa7V9zdqwIF23dsxMwc8ga4AY=; b=gM1u4KbLvptscbQNL3e39h4xrQ+CsG3A1c2f/gRygr+z8jtRe9bJtVZuGF468K+sdrY44c fxX53FY9Jjia1A8y/W4oxHIWVpMvyLNHC/8q3046HfTjQ9R2pEY8jsTtf/Lgy/tZ9G6Sox AdiEt98XQ2088vdsiwB7EqxlWoFVYr1ctUbVcdLCB+KpV1AYq393z7bxzsEaA8e6rStE5x NfxQ3xohM/fd1QZCTPwqldh13soWjBrQIPift4vmPyWjWiOMt0rIRr6IrNS67P1S8tZ9pj cKrFSYwI7XWvqvbz0V5xeOj5hPEp1COJi4hLahHg+tmO7vCeJmVG3KOJHAygyw== 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 86C1E1C10; Tue, 10 May 2022 17:36:48 +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 24AHamq1099586; Tue, 10 May 2022 17:36:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24AHamq7099585; Tue, 10 May 2022 17:36:48 GMT (envelope-from git) Date: Tue, 10 May 2022 17:36:48 GMT Message-Id: <202205101736.24AHamq7099585@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: 3a3a104edf25 - main - rt: 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: 3a3a104edf25d94495f7632c602e59d50a8e2178 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204209; 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=cxveJkK82PUi5Y5Dj+Fa7V9zdqwIF23dsxMwc8ga4AY=; b=nZlvGA2nfCuP2HBwsg1QPtMoccnPpLg9pWpl6RUp3oRtoJUoUWZHZjxD/3DLKzam40B/Tn l5jujUFT5ndaOWYFK4a5cbp5cEG3Q+xU1MyY4D5rYzSr11LfisoYQM+CvDxZJps2DOvpIe ttem3weQDwsSV1x9aaCaAu76wxbjL0evkpZXgja3k7gdAMkGQeSA124uOzDeSX27sQXQqf +6rynQuUQRn4TmQ7NWV4PTFm36ujI11iT4w3ARv5M6/mbIaDsVM9MFTGm15YG0g1i7LUO6 GliAvze46spB2EWmgq3YdfbMevCRGUMusQ3C95/eaEG0r55f1ZfF1tne26MpQw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652204209; a=rsa-sha256; cv=none; b=VrS3JU5Vl0qXpJPo7T/65t3t4eO/Zc1u21LGMHRGLT6Acv9BgYMQspL6kGQv8rDBt0coVH 9ObvWBU3SrS5IXq6u17gIoprfjhTx7DMi86WNBMsoVXjiJVL5xXGgappDbwE4auMFZQ0kU Qgqj+4tyZ8NsdXW5/I1oIUKMLG88vceSjPRlaUsfhH4s5AGXeP/eX9csktRRWTMfIRn0ru k82bVs/nb0J//8zuuGONomccncKyQ+InzcHv2wpHUxvYyuW5pSclhRmBWgkEKa/Zpm48w3 FhG8CmFNy73Iuw82o8+ik3Dr67XiV6DctjTDzrrIv75N/kDunuUGJ/joJrt8AQ== 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=3a3a104edf25d94495f7632c602e59d50a8e2178 commit 3a3a104edf25d94495f7632c602e59d50a8e2178 Author: John Baldwin AuthorDate: 2022-05-10 17:21:39 +0000 Commit: John Baldwin CommitDate: 2022-05-10 17:21:39 +0000 rt: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/rt/if_rt.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/sys/dev/rt/if_rt.c b/sys/dev/rt/if_rt.c index c22618b7a5e1..22f24a9affda 100644 --- a/sys/dev/rt/if_rt.c +++ b/sys/dev/rt/if_rt.c @@ -2858,11 +2858,9 @@ static driver_t rt_driver = sizeof(struct rt_softc) }; -static devclass_t rt_dev_class; - -DRIVER_MODULE(rt, nexus, rt_driver, rt_dev_class, 0, 0); +DRIVER_MODULE(rt, nexus, rt_driver, 0, 0); #ifdef FDT -DRIVER_MODULE(rt, simplebus, rt_driver, rt_dev_class, 0, 0); +DRIVER_MODULE(rt, simplebus, rt_driver, 0, 0); #endif MODULE_DEPEND(rt, ether, 1, 1, 1); @@ -2898,10 +2896,9 @@ static device_method_t rtmdio_methods[] = { DEFINE_CLASS_0(rtmdio, rtmdio_driver, rtmdio_methods, sizeof(struct rt_softc)); -static devclass_t rtmdio_devclass; DRIVER_MODULE(miiproxy, rt, miiproxy_driver, 0, 0); -DRIVER_MODULE(rtmdio, simplebus, rtmdio_driver, rtmdio_devclass, 0, 0); +DRIVER_MODULE(rtmdio, simplebus, rtmdio_driver, 0, 0); DRIVER_MODULE(mdio, rtmdio, mdio_driver, 0, 0); static int