From nobody Tue May 10 17:36: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 1AB871AD0FC3; Tue, 10 May 2022 17:36:35 +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 4KyQFZ6jLtz4j05; Tue, 10 May 2022 17:36:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204195; 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=182ib6rmOmatP+23ztJq/YlUI+79KD1ksFZ88FzmVtE=; b=raa+GQz1MOQR78yEGTrl1/+MAzngYsuqplgjbYeULBJG4017efu3OtiA/BVvZpFHxYwHUC CVNPRPuOSSnSqMCXzHNtRBuDWw5drxyJ7u3k3pqQOF3VFcek4H9ZWF17SYmWodWOnQxcD1 r54U8Y2JSBwVmYl2IBCzltfbeAVASFWROj9UA9+3fPV0WNQH9MF5HMdE9BY1vpF5wjAEh4 Wj3BH190nDOU59gBSKWy6vgUUxv92m3CJtuu4Bh3oG0PMKopnwjm6rN577a+n+61BCUZgf oH1o26SCv0tzdYi5kOKnvVAJxa/v8K/3ajs4CPq8akM9ax0hCRp8INTT5Arf1w== 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 C76B91B84; Tue, 10 May 2022 17:36: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 24AHaYWl099280; Tue, 10 May 2022 17:36:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24AHaYOk099279; Tue, 10 May 2022 17:36:34 GMT (envelope-from git) Date: Tue, 10 May 2022 17:36:34 GMT Message-Id: <202205101736.24AHaYOk099279@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: dcb580367497 - main - dme: 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: dcb580367497c1fe8326361b207a4ddb7afa1669 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204195; 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=182ib6rmOmatP+23ztJq/YlUI+79KD1ksFZ88FzmVtE=; b=rkWqkuzRvetCd8lKjk31O7Caa7sCGxZIGBqblxXSvYnuRGAVRb7e6kIKcxzWuDRsbUd257 IBk9dvmzwEpSYjs5dj9GR6nCM/+tuX4kpJsQPINVpB2zuVdbFFolq05yJydVKvESkQya/7 UAt+i3CCZ8b5JvQ4WVIviMpspf7b2ACJvoX7KMZz61PM2guL8Wezv1PVHB4dNcirHYR44Q UveICOSsqDp233YZ0trQUMOBRvaKDd20Qm62z+fgqkUKzWHtM6GUB+2mW8ON0bmZudq3O4 NnA3D/ETgqGRGyXH4vwRUctjzZhFOT0hCN7NKat5MbgP69XufPscDk+VDE39HQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652204195; a=rsa-sha256; cv=none; b=oHmyMVBtMKLMgEo9g8hiNQ8kSCVvMRt+z5H1aYu35Wx9Kw8FUzpeFPx+/wFBnE1OmkiOSq rj8UKfpw6xFHEcJ0p/uZpH0efXzcOYy5DLqovNhlpXVK4WSQb+8+yeSorQJprKwHP6TR6Q twCwN6gyhhKhKsK91BOb9Bp0NWvO/2obdr2NLNXfyT0qn4lBcO2GcwkAiRtYmpDz3JOCO2 t8JW9GSyCYFclW649inK65XZx8GbQQpMt7z50dWla8P9IzyfhHtpxhYcU5FJAF6u6zXEbA D200M4TI8lPoZYQbZTsZDI1JRzJ+/lkwLpWiwdfhVfIvpgxkk7jc4EutfGH3SQ== 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=dcb580367497c1fe8326361b207a4ddb7afa1669 commit dcb580367497c1fe8326361b207a4ddb7afa1669 Author: John Baldwin AuthorDate: 2022-05-10 17:21:39 +0000 Commit: John Baldwin CommitDate: 2022-05-10 17:21:39 +0000 dme: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/dme/if_dme.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/dme/if_dme.c b/sys/dev/dme/if_dme.c index 4f989d44194e..c518fa98af0f 100644 --- a/sys/dev/dme/if_dme.c +++ b/sys/dev/dme/if_dme.c @@ -1053,10 +1053,8 @@ static driver_t dme_driver = { sizeof(struct dme_softc) }; -static devclass_t dme_devclass; - MODULE_DEPEND(dme, ether, 1, 1, 1); MODULE_DEPEND(dme, miibus, 1, 1, 1); -DRIVER_MODULE(dme, simplebus, dme_driver, dme_devclass, 0, 0); +DRIVER_MODULE(dme, simplebus, dme_driver, 0, 0); DRIVER_MODULE(miibus, dme, miibus_driver, 0, 0);