From nobody Tue May 10 17:36:42 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 7C2401AD1840; Tue, 10 May 2022 17:36:45 +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 4KyQFk6WBtz4j76; Tue, 10 May 2022 17:36:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204203; 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=qZkbap3iVRpe8ZxsG21GHbvnWptkgAgQxlmKHYfaoIE=; b=eacYinbJVejNpTFcx4LV8H6+ajmINPcgzbW9Ei95YdnHqaD36efYCOsZ1YqVKnEwbUNyB2 +3bafzslehxj9AMi8EYGcbUsEbURM/3AMVTFiYY2LxbjsQ+f5TE/BGWgdbpuYzChPcqnq0 iF57F2O6uFuM8vnyplpIsziM3qSGUfsECHcYOLOU7U24rHm8QFt2pQ+fEH23q/ZmZ5KyHF 9uMAhzOTHRMAGBm31BN9DYOpdVX6miKCaPaVBIjENW9CBjUNIogHzkjiQPx0Co3Owvy798 s1aj0frP+nHuLqubmgYO/MHDttDCVTbWP4WM9qOBc5yyftQNvD1tm1jFAVWO1w== 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 B05D01B85; Tue, 10 May 2022 17:36:42 +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 24AHagWV099460; Tue, 10 May 2022 17:36:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24AHagtM099459; Tue, 10 May 2022 17:36:42 GMT (envelope-from git) Date: Tue, 10 May 2022 17:36:42 GMT Message-Id: <202205101736.24AHagtM099459@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: 8059bf7b4ae9 - main - mge: Remove unused devclass argument 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: 8059bf7b4ae9c84524c93a6d836cc5bac535e3d2 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204203; 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=qZkbap3iVRpe8ZxsG21GHbvnWptkgAgQxlmKHYfaoIE=; b=Pc1bcnt5L3fzcWFpDPpkUsBy2sAQbu6n5mBHPfZB4TVppiayB131qsen0HdPiAyqL06TAP FRiQqIidXTY2Lt6vQmjuH9NDv7MzHyPlldkE2MTKlVkfWR+KwfHXvxGzfM24DJ6V1AA2BU yiIyEV+pEV7KFss3PA501y9vqp023OtY3xFaIRhfX6aOZ1ptuaGSwhMwzYQkESR/r/kdT8 HVXuqiTtzsV6W6dCMGPF/geHmaNHQx1jHWwHlEwTmXtBf5WLjDcm0TOCxnbX0qbzcTqult Sw+ixr9Myca9baBbT6Tz3bYw7cfUDHt83GaUV1dYNqIYt6lvQsy1Torf2MqhQw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652204203; a=rsa-sha256; cv=none; b=WLjtykjtSmlg4+ejkEcE61JzJHZUs/GHux1H0dNpPOfM8vw86+/P+xZm/CzpR8rUntsBDb qnCegPnDbfTHJY+Ms7TMb8fHtVVb/1GzUg5qYtpyFtz33N30YqGK3VPWDOtbg+PVvnZp8L ZONxzJrIPUgxQhz0tx7GghrVbOsYmoJELPywjZ2r69Z5jeTbfpgPcHzTEgl+uoWeo7wgpu QDXlGadHHZyLhQ41dDoOom5323w+7SuKBaQLYjhJopdyvQ/TtwHhZevP8FND6rY48Rz094 IzSgpdmHy3Yz31yJGcCY58Zb1MTqGZxD78jPElXJjxe95oxtZsDiv7uN6z34cQ== 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=8059bf7b4ae9c84524c93a6d836cc5bac535e3d2 commit 8059bf7b4ae9c84524c93a6d836cc5bac535e3d2 Author: John Baldwin AuthorDate: 2022-05-10 17:21:39 +0000 Commit: John Baldwin CommitDate: 2022-05-10 17:21:39 +0000 mge: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/mge/if_mge.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/mge/if_mge.c b/sys/dev/mge/if_mge.c index da951b734fd9..cd49bd5200de 100644 --- a/sys/dev/mge/if_mge.c +++ b/sys/dev/mge/if_mge.c @@ -174,10 +174,9 @@ static device_method_t mge_methods[] = { DEFINE_CLASS_0(mge, mge_driver, mge_methods, sizeof(struct mge_softc)); -static devclass_t mge_devclass; static int switch_attached = 0; -DRIVER_MODULE(mge, simplebus, mge_driver, mge_devclass, 0, 0); +DRIVER_MODULE(mge, simplebus, mge_driver, 0, 0); DRIVER_MODULE(miibus, mge, miibus_driver, 0, 0); DRIVER_MODULE(mdio, mge, mdio_driver, 0, 0); MODULE_DEPEND(mge, ether, 1, 1, 1);