From nobody Mon May 09 19:22:46 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 CBB191AC10F3; Mon, 9 May 2022 19:22:46 +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 4KxrfZ2pkSz3nr4; Mon, 9 May 2022 19:22:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124166; 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=qu+9Q9RhlV18nHwyFTthz3bZcBcLoyFDOQNsFOHrNwA=; b=O242MJ4D3eZQSp1/Evo+pS+0vChmJea5FOEg3ZNJdPt4FXWKXbyp3TarzlCIf2o3G5XHcx p560PZ9TkZBw2R5f8NYFRTQRmYuVbjouty/b/MRs3IEwueDWhQxBTayBgKjjVaJtaLjPh+ SC7rXhUldBi3jNO7JbeknLf3Za7kAQCa1zxhn/qoUspKBG0zO8MMRMV8l+75HEaDMp3L/t 2ucE90t+ftbIPQHTv53ZnV7x7uEwbQiwUPqYKEwDlqLD0zUGIxqkyPI6CQHj45BgC3kjMI XRWsCAa3jjYgpd1F4knPDiDgyD3uCzPHRqCtDmPcJ1v2CvoJCZwKNuKn/M7MFQ== 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 3BC0016977; Mon, 9 May 2022 19:22:46 +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 249JMkkg085293; Mon, 9 May 2022 19:22:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249JMkjY085292; Mon, 9 May 2022 19:22:46 GMT (envelope-from git) Date: Mon, 9 May 2022 19:22:46 GMT Message-Id: <202205091922.249JMkjY085292@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: ea7e37731f10 - main - dcons: Remove unused devclass argument 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: ea7e37731f10439e483326f2adc731ed284f3135 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124166; 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=qu+9Q9RhlV18nHwyFTthz3bZcBcLoyFDOQNsFOHrNwA=; b=ilwev2aXgr7nsm/MBpMHVCNP5dHrhmVbqaaZyiOd9NgOxuGgzweXrNaRL+EEhRpSVR/dKe i12AEpUIxWIsX+3LE4Q0B0DhYsU/W83joQZbyMAadyovMHO0oPDcEsskIAHXxMSvQODo+u PdGeAqM2wEpaz0xta47qtIyxTFT8qJTpsL/HsuD5/sPyaLWthvP+zPRWNDf1x3KhmMDK/W 4nRKF1fpAg9DMnZcqEpOQTGaUlylbSWbM3i6rUjn2tNn9hLsa1ciWlM+DNi6ArD0y7/71Y a/wyiwJmz7JZ4z8lLPnJ5Zzt/WVByii/TRg1rrLtlx/5UIzXLbEUZ5EkUYh4yg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652124166; a=rsa-sha256; cv=none; b=GyrFLRMXGNM4QdJsGuipc0AMCxAelHBjUvq+fks79qk8tGGtFVROzE31JuMzhQtrxaEJuP T1XNWq0Rx4X4ATIgc1kdKRO98egLbd9knhN0+kH6RWpggQweWTo4MSfxJxow1OFjfe+YpA Ose8PuGMzmPZ2GAv+AtGd+KeS+N9ZwDzMwERyDvUVxgeIp0FNr4E7cNTUbgv7dGT/Qzekj Vq8bRlh/bev2FExTs7rjx0taJymxpjTKQDB5Jqm9imdTgr38QJsg8lDWX/DSbgflSv//HH ac+MA6fhi6XwBOyaYl0UvMCeJUDI0Esk4u2acm0HMYhK1HhMg0oKb7KyA3YnBw== 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=ea7e37731f10439e483326f2adc731ed284f3135 commit ea7e37731f10439e483326f2adc731ed284f3135 Author: John Baldwin AuthorDate: 2022-05-09 19:22:01 +0000 Commit: John Baldwin CommitDate: 2022-05-09 19:22:01 +0000 dcons: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/dcons/dcons_crom.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/dev/dcons/dcons_crom.c b/sys/dev/dcons/dcons_crom.c index 2a320ef65f3d..63732cf80406 100644 --- a/sys/dev/dcons/dcons_crom.c +++ b/sys/dev/dcons/dcons_crom.c @@ -248,8 +248,6 @@ dcons_crom_detach(device_t dev) return 0; } -static devclass_t dcons_crom_devclass; - static device_method_t dcons_crom_methods[] = { /* device interface */ DEVMETHOD(device_identify, dcons_crom_identify), @@ -265,8 +263,7 @@ static driver_t dcons_crom_driver = { sizeof(struct dcons_crom_softc), }; -DRIVER_MODULE(dcons_crom, firewire, dcons_crom_driver, - dcons_crom_devclass, 0, 0); +DRIVER_MODULE(dcons_crom, firewire, dcons_crom_driver, 0, 0); MODULE_VERSION(dcons_crom, 1); MODULE_DEPEND(dcons_crom, dcons, DCONS_VERSION, DCONS_VERSION, DCONS_VERSION);