From nobody Mon May 09 21:48:03 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 89D131ACAA09; Mon, 9 May 2022 21:48:04 +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 4KxvtD0XSqz3H5v; Mon, 9 May 2022 21:48:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132884; 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=YVJe/YUF7Oyby1a2nr9Wo4FSVUWLoNCpUFetVsnXAT8=; b=If8iUBoIfc17oyaRsG4CLGwFHs4WtUkwD0NwAFJ6f3GRHl8wCK2yo/Xx2WZBEkRd1pq6zo DmOgAGa0N4sU32ZAk6L2U5oQizpodX3hBGRcl2pgqLUT9K8eC7IYdwqeiskK3zLnk5lP5Q zNyJoww917Uqi36iW2dO5IBR/DRk+FhpC2wif+FYPanzgTLrhmCwQm/ZxZ8BPfIWbTz6bR s/s483s3Xpvhg0dKWr/Ppht6ivi8EJP0KxXb+c87aw86ibsqSahnZtRKlqvM+q35UMWJ2o 3+I/A1d3mDDiKl7LGYqTOYHwyQx/7fpKdp01NTnDtOh6BITW2urK5R33a4IB+w== 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 A85BA18EA5; Mon, 9 May 2022 21:48:03 +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 249Lm33v080496; Mon, 9 May 2022 21:48:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249Lm3DF080495; Mon, 9 May 2022 21:48:03 GMT (envelope-from git) Date: Mon, 9 May 2022 21:48:03 GMT Message-Id: <202205092148.249Lm3DF080495@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: 7ce7aacc9de5 - main - enetc: 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: 7ce7aacc9de5b5f748a3abf67748cdfd79c2da77 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132884; 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=YVJe/YUF7Oyby1a2nr9Wo4FSVUWLoNCpUFetVsnXAT8=; b=XvgB7ZLu1fN7PMAul6rd+N2V/MWC3VbuQd0KPcF6YEPiKyUD/La/iaAealhuo7K6Pew+wL uly7ORi6R6aFvop6pbY8RrkZY1lcxGS3iFj2YbFLf/ohM4lPYRSa5/bxkGftE1hmCDuquj DufKZKRhI149NDikdiNDY/Lda+fPPzQbmu8QsI5bSPuopyFAwRvkdV6Dci1V6f8dWwRoVV 8xHY1+3Kl0cWT6S7Ny9b1KziRbm8AwJw/1sMjZJ9nq4ixKRORhNOQ5Uyy4Z91ctDfjVlv1 24s3cFRabgHv0++20BKgQBzyHU5Hx2GNP13Nn+p+OMBaSGTIfrxGZ6572D/A8Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652132884; a=rsa-sha256; cv=none; b=WuO5sJNqmf0qJ5CrNhfxaSUgztUujvsEELRO0nz5w27fzOiF4oO5K0EVzAlMKIGq2hhGV3 kC5s2VazwRUeE7hWm3jUf+0VSpJlvxSKqhIstGwKg2z5UONCaTE6tXLJ/j/7dvKZtxJzsk RcItPvtFHdrQoiQuEx4d+LRair229Olr46aKVj4yOuKh/PrRxWehO2D2xQu0MwgH86vD1n kIdCknpFpc1iq97F3U2zbVuDnraAGPr6/8lb2zMgGhYvVfw6e+KVfriH9fa47/0JViw9W2 U0nwumZBL80MQ+8L/7Gd3Hrc5b7SQshCrapijog6NQGrnBEm8y1HcreoRFZCfw== 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=7ce7aacc9de5b5f748a3abf67748cdfd79c2da77 commit 7ce7aacc9de5b5f748a3abf67748cdfd79c2da77 Author: John Baldwin AuthorDate: 2022-05-09 21:26:45 +0000 Commit: John Baldwin CommitDate: 2022-05-09 21:26:45 +0000 enetc: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/enetc/if_enetc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/enetc/if_enetc.c b/sys/dev/enetc/if_enetc.c index 76656297044a..c6c0582be04f 100644 --- a/sys/dev/enetc/if_enetc.c +++ b/sys/dev/enetc/if_enetc.c @@ -165,11 +165,9 @@ static driver_t enetc_driver = { "enetc", enetc_methods, sizeof(struct enetc_softc) }; -static devclass_t enetc_devclass; DRIVER_MODULE(miibus, enetc, miibus_fdt_driver, NULL, NULL); /* Make sure miibus gets procesed first. */ -DRIVER_MODULE_ORDERED(enetc, pci, enetc_driver, enetc_devclass, NULL, NULL, - SI_ORDER_ANY); +DRIVER_MODULE_ORDERED(enetc, pci, enetc_driver, NULL, NULL, SI_ORDER_ANY); MODULE_VERSION(enetc, 1); IFLIB_PNP_INFO(pci, enetc, enetc_vendor_info_array);