From nobody Mon May 09 21:47:34 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 B3D1D1AC9252; Mon, 9 May 2022 21:47:34 +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 4Kxvsf3Txtz3Gj2; Mon, 9 May 2022 21:47:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132854; 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=x92mmeUkodHk8b8MBDuL6ZpV0b6avuTmY2QbkGrsR/4=; b=Z3XN4eJkWMSOaNIIZrlSM347IX3tYgAiyRFClyck3jGEm1km8OtSpaYg/a7ryefoVJO27u 94v2J+ywpmGh+hXodM/c9sfA9M97hHVCvWOBVj5yjbjaIHTaC8jWvAbwVUZKwjKZlcL6P6 78zNPfQ07I4LjrF+bOs1kvJeEeYy92PQ1qbNwBNyMk0rlL1ICaOJTE/RUIvISbX1tQ8CT+ ymRtcf/URFx5aKYT3qyUoqGN0TgO+cUaUDAwDoMW9yzeGtsE86Nc7P9TwE1GpUi3D1/Vze dgZQve2NvPgEtRuaRy/p+Y16Eg9z5wO3oNobDMuLOdKLHNxafpFSgo6kZE+0fg== 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 3977B18AF7; Mon, 9 May 2022 21:47:34 +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 249LlYSm079823; Mon, 9 May 2022 21:47:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249LlY1N079822; Mon, 9 May 2022 21:47:34 GMT (envelope-from git) Date: Mon, 9 May 2022 21:47:34 GMT Message-Id: <202205092147.249LlY1N079822@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: beccd04c88c5 - main - Remove unused miiproxy_devclass. 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: beccd04c88c5102f3cfcf2c31d83591e2d550388 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132854; 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=x92mmeUkodHk8b8MBDuL6ZpV0b6avuTmY2QbkGrsR/4=; b=iWAfcQFCiCeY/kCBKv7g5JMYdQhBs7VIfinCwi9+Lb2gL9XzX/t+uB7HaCmvJ2k4zHB15y S6R/L54YXV6Z7bdSmqbCgkd+zGHw55erAm0TbYoOIy9OLKpV8e5GpKSFmNva8AF57JmnqR 16hrQJJSE333snsDSIBXxcP5d0gS5CgzyAKkk02tAlo43MeEnM+9/Xun3YV+hFuE1OZn6g /uK/d6FRqrjM84AwINPr73URFxaZyoHjSkSauyMvMc8yZ6Fd/gkcs3AtJ4vdDmAgdseF9Y prOSZ40vnSkftVJWTc6lf8+FQZfy3na8ifQSO9tv02klnv476meJvxG2dXCUfg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652132854; a=rsa-sha256; cv=none; b=UcVJYpnlkVKIkMLYBcIYuguWR+IVDJnFiCH7ele8mPktKIfIxJAStuEHIDrwwBPpFu+xlS UKaQbqZt9f9sJ1mOMYW55clHY0cG2rwRXMzQE0Y8No4ORoXv6e8VId8er2F2VfcACX1DtX HXy2BrC4ihaSSFOwTvWZLYEmdv+PLTp2jNpx46hdNiksd6+zPjGXF/oLxRx2IuQWPGe5H7 3f9o5Vp2etobIsBDrWsPBYcwrrvr0VzBig/Efu+5EKZqgzz0IV4lTKiXMWjjfJj0aIFpt7 ohHCq7lci7Bs45MYaEdcsqEuBllXdcPcdLfUtkcEBVORhvwJU7QXwBr49k7oQQ== 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=beccd04c88c5102f3cfcf2c31d83591e2d550388 commit beccd04c88c5102f3cfcf2c31d83591e2d550388 Author: John Baldwin AuthorDate: 2022-05-09 21:26:43 +0000 Commit: John Baldwin CommitDate: 2022-05-09 21:26:43 +0000 Remove unused miiproxy_devclass. --- sys/dev/etherswitch/miiproxy.c | 1 - sys/dev/etherswitch/miiproxy.h | 1 - sys/dev/rt/if_rt.c | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/etherswitch/miiproxy.c b/sys/dev/etherswitch/miiproxy.c index 19a34580cbca..ccebcde12266 100644 --- a/sys/dev/etherswitch/miiproxy.c +++ b/sys/dev/etherswitch/miiproxy.c @@ -432,7 +432,6 @@ DEFINE_CLASS_0(miiproxy, miiproxy_driver, miiproxy_methods, DEFINE_CLASS_0(mdioproxy, mdioproxy_driver, mdioproxy_methods, sizeof(struct mdioproxy_softc)); -devclass_t miiproxy_devclass; static devclass_t mdioproxy_devclass; DRIVER_MODULE(mdioproxy, mdio, mdioproxy_driver, mdioproxy_devclass, 0, 0); diff --git a/sys/dev/etherswitch/miiproxy.h b/sys/dev/etherswitch/miiproxy.h index fc30af10ada2..d98d5495a2a8 100644 --- a/sys/dev/etherswitch/miiproxy.h +++ b/sys/dev/etherswitch/miiproxy.h @@ -31,7 +31,6 @@ #ifndef __DEV_ETHERSWITCH_MIIPROXY_H__ #define __DEV_ETHERSWITCH_MIIPROXY_H__ -extern devclass_t miiproxy_devclass; extern driver_t miiproxy_driver; device_t mii_attach_proxy(device_t dev); diff --git a/sys/dev/rt/if_rt.c b/sys/dev/rt/if_rt.c index 67559d853586..c22618b7a5e1 100644 --- a/sys/dev/rt/if_rt.c +++ b/sys/dev/rt/if_rt.c @@ -2900,7 +2900,7 @@ DEFINE_CLASS_0(rtmdio, rtmdio_driver, rtmdio_methods, sizeof(struct rt_softc)); static devclass_t rtmdio_devclass; -DRIVER_MODULE(miiproxy, rt, miiproxy_driver, miiproxy_devclass, 0, 0); +DRIVER_MODULE(miiproxy, rt, miiproxy_driver, 0, 0); DRIVER_MODULE(rtmdio, simplebus, rtmdio_driver, rtmdio_devclass, 0, 0); DRIVER_MODULE(mdio, rtmdio, mdio_driver, 0, 0);