From nobody Mon May 9 21:47:59 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 B75AD1ACA575; Mon, 9 May 2022 21:48:00 +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 4Kxvt73wNwz3Gv4; Mon, 9 May 2022 21:47:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132879; 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=M+vNG27HMs/wsjisL9Rs2zjtnUyP5qxANzG46wBhvG4=; b=qWzHpYAWu3eFOhS7+wIh3z0VWLMLbJ02bZ63DtSunwIUdFscPOaJ1SBgVeZlEAPFn1ai3d RLcqoNhlInHx9oo25GPzC/GyP2ALH19x4ePb0SZ2qlxkSXOQdTyVmIkdrTo6bGQWFTW9Zj nHzHRcu6cBPIOjGIOQXbfmksaHOTuFsbHyTT4/aPRWg3BNjQbT2rdhruJ2th4UVbRaARkb Hwwn58qFX6Wg8kmZhVabI6dE/+S4IKxmgpDsHbJ0Iuk+U+k2j2V5Cp6dcfiJk2MKwqHaiK ksN409T3GDcLmp+S5jfdH4S0SUk77HWtkJUzq/TukrdoPMAWkQ/eNXGjlsU1RQ== 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 1FAAF18EA3; Mon, 9 May 2022 21:47:59 +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 249Llxmt080390; Mon, 9 May 2022 21:47:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249Llxlt080389; Mon, 9 May 2022 21:47:59 GMT (envelope-from git) Date: Mon, 9 May 2022 21:47:59 GMT Message-Id: <202205092147.249Llxlt080389@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: 3d2549ce8a32 - main - arm64 intel: 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: 3d2549ce8a32df99745784fb2807865e225fe5cc Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132879; 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=M+vNG27HMs/wsjisL9Rs2zjtnUyP5qxANzG46wBhvG4=; b=NV8hoHHRRaZXVqpYqn3M7e1J0AmQ89YwVnxLFvvcZSGPD9ll8weczwonVO+Rb2E+SUENs2 F0PDJn26A7oLduoSthwD2qSYrqelFQhZjDjdsQKfRWbiRm3b+Odn6gPNaAiG4tA+Ku4zm5 Ux5SU4qMroo6HSeJUvw9y3S2ObHuliz2hv3bN3S/iocphKEImYs20XMeYqSi8qd6xxGW8V lZte7jK0xOPrNBej2wgnydTashdooDj4SG3PEh5kGC+ZgS9jYyRhxgc6yxZSsjUkIEnHnF dqpU99O7FZp/iRly9WXPbE/xQWSfNGVQ82yQGXEMHveljh+Xg0JVWHdYuLchMw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652132879; a=rsa-sha256; cv=none; b=R1V6bTFTmQgHslqaRipbwkefMg3rZao4CW3GxNF0IieanYisK/BLyNNtJ022lPaTRUMuBh B6lOkik2twYeozIt9qjnHMXCdgyrA7KN7tHWpRtyygJ4lXPaAPPb8MYzpdH3IIMDCj+wb5 2uDqFcGQn35pCisDtIp+vE+1REXKj5l7rsMhJbrurEfd4GYrjk0uxf8sEAgiPLb5viyqAw CQPfIjpCHOpAgYW5HJxgcGM/CTccHF5/BIKd/Epn7bJTP/sGSCmHG2Fokkm0KseZpRx8SP +F82igJ+7C6YqNmJc3hqdMYPIvyC7xHXIyuhmRjPoCSvJ/qkcO0Z6zwGYxjauQ== 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=3d2549ce8a32df99745784fb2807865e225fe5cc commit 3d2549ce8a32df99745784fb2807865e225fe5cc Author: John Baldwin AuthorDate: 2022-05-09 21:26:45 +0000 Commit: John Baldwin CommitDate: 2022-05-09 21:26:45 +0000 arm64 intel: Remove unused devclass arguments to DRIVER_MODULE. --- sys/arm64/intel/firmware.c | 6 ++---- sys/arm64/intel/stratix10-soc-fpga-mgr.c | 5 +---- sys/arm64/intel/stratix10-svc.c | 6 ++---- 3 files changed, 5 insertions(+), 12 deletions(-) diff --git a/sys/arm64/intel/firmware.c b/sys/arm64/intel/firmware.c index 083caaf94755..5c4470fa4a98 100644 --- a/sys/arm64/intel/firmware.c +++ b/sys/arm64/intel/firmware.c @@ -115,8 +115,6 @@ static device_method_t firmware_methods[] = { DEFINE_CLASS_1(firmware, firmware_driver, firmware_methods, sizeof(struct firmware_softc), simplebus_driver); -static devclass_t firmware_devclass; - -EARLY_DRIVER_MODULE(firmware, simplebus, firmware_driver, firmware_devclass, - 0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE); +EARLY_DRIVER_MODULE(firmware, simplebus, firmware_driver, 0, 0, + BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE); MODULE_VERSION(firmware, 1); diff --git a/sys/arm64/intel/stratix10-soc-fpga-mgr.c b/sys/arm64/intel/stratix10-soc-fpga-mgr.c index f4fa600d517f..e871bea90fbd 100644 --- a/sys/arm64/intel/stratix10-soc-fpga-mgr.c +++ b/sys/arm64/intel/stratix10-soc-fpga-mgr.c @@ -284,7 +284,4 @@ static driver_t fpgamgr_s10_driver = { sizeof(struct fpgamgr_s10_softc), }; -static devclass_t fpgamgr_s10_devclass; - -DRIVER_MODULE(fpgamgr_s10, simplebus, fpgamgr_s10_driver, - fpgamgr_s10_devclass, 0, 0); +DRIVER_MODULE(fpgamgr_s10, simplebus, fpgamgr_s10_driver, 0, 0); diff --git a/sys/arm64/intel/stratix10-svc.c b/sys/arm64/intel/stratix10-svc.c index f68ac8600254..900cc00567f2 100644 --- a/sys/arm64/intel/stratix10-svc.c +++ b/sys/arm64/intel/stratix10-svc.c @@ -265,7 +265,5 @@ static driver_t s10_svc_driver = { sizeof(struct s10_svc_softc), }; -static devclass_t s10_svc_devclass; - -EARLY_DRIVER_MODULE(s10_svc, firmware, s10_svc_driver, - s10_svc_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE); +EARLY_DRIVER_MODULE(s10_svc, firmware, s10_svc_driver, 0, 0, + BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);