From nobody Mon May 09 19:23:16 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 3C5C51AC3C2F; Mon, 9 May 2022 19:23:17 +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 4Kxrg84FlBz3pMb; Mon, 9 May 2022 19:23:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124197; 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=gPIkF6butruwrp1Iq97VRihgSBqTiLJ3lbRz1RtpNVM=; b=VtCc7yS8eWrzWZV9I3TcWppxXWRKmSWOF8gsHmTvFqOkjNBUvIKs2+/YBgrsGg+n76ZIiF OvN83sYPjwCYerrvBjRhrlXSsL1P0YAe/tam7ROHf9taO8gaMZoSGQBalQ2tFocXSxiHWN o6YSrbCmCbPX2vSf1WhcJZdEAEmc+nqA2hZmKK34QQKjJCz0ydN7rCN0nivwVhDLvBq6r3 KO2HNUCNjBGeSqhngdK/sX6ppf3J3TRL9h4pdejKbOBLZRQZYH1XE+p3k/W9P1v75vGmEF +dD9k67UYoTvST3Cvz2iyV906jCBeXGx39sbITHvgoQtow4/0JGY+SSpVlLM7g== 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 3941016BBD; Mon, 9 May 2022 19:23:16 +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 249JNGT0085951; Mon, 9 May 2022 19:23:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249JNGdS085950; Mon, 9 May 2022 19:23:16 GMT (envelope-from git) Date: Mon, 9 May 2022 19:23:16 GMT Message-Id: <202205091923.249JNGdS085950@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: 4e75e4962645 - main - oce: 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: 4e75e4962645dfd2c3d6e7e35dee7e875d331e3b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124197; 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=gPIkF6butruwrp1Iq97VRihgSBqTiLJ3lbRz1RtpNVM=; b=Lv5eFHtfyz37OKN3qkbR9uXVAXS4zenaXor6Jqk0MAIuKb65NC4gYw1zA5hzn3jFVuhyPC 2ooo7+7qt5vnli15+HldGh9B/AHxyx99pKVf+g11KsKDLyvhAOejiRQrrXrYGKROiic2lF RJhz4PUIvenjJne6nsG0P+KTdUVu3Pdsae4T3NTI5N4Add/QwIFbNSDGObZJ4XPfZWNf3k X+wxnmNQwUy8/kYQoc2gX+Anu0VjTtn7uXa/iREqBrG1wLbwUHEVb8nRbGfjIbfexklGpc ttt3EDI3kB1IhiwkTS6azm0j6ijrkUUCVCLfd5kbPi7DslLg4mYqzAnf/B4p7g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652124197; a=rsa-sha256; cv=none; b=cov40h13jN6hrwwMF/YT9AxF7Gz+xvsKNALziDHM9/JTZjH7Iqm6YfQZ6i3cysHpRate9H qFMolf79KSvl6gfxN8pLVKP4kAWc1YAZwWlKxU9iPDNAUr54JA+vdg9XoSqd1KgeBiKBro oIo4+Z44gjZlfoFPqiuxzWMYJXHdciAUVFdilWC6n8IMXqWWOGWVWqzB9ngWhIw6RvpcA1 9xjq0quW82WCRzYheVYp86ROujLWXXHL6t5Kmmd9Y2uJr5FB3M1d65GJ3ffCSvmGa79WWe xE79UkqTowlaXyyLBkkPMY4jFd4adgv6mMCitu4rGNhgVlVw26tnlDOv1ZFi/A== 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=4e75e4962645dfd2c3d6e7e35dee7e875d331e3b commit 4e75e4962645dfd2c3d6e7e35dee7e875d331e3b Author: John Baldwin AuthorDate: 2022-05-09 19:22:03 +0000 Commit: John Baldwin CommitDate: 2022-05-09 19:22:03 +0000 oce: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/oce/oce_if.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/oce/oce_if.c b/sys/dev/oce/oce_if.c index ff784918411d..0fb749a5ee29 100644 --- a/sys/dev/oce/oce_if.c +++ b/sys/dev/oce/oce_if.c @@ -209,7 +209,6 @@ static driver_t oce_driver = { oce_dispatch, sizeof(OCE_SOFTC) }; -static devclass_t oce_devclass; /* global vars */ const char component_revision[32] = {"///" COMPONENT_REVISION "///"}; @@ -232,7 +231,7 @@ static uint32_t supportedDevices[] = { (PCI_VENDOR_EMULEX << 16) | PCI_PRODUCT_SH }; -DRIVER_MODULE(oce, pci, oce_driver, oce_devclass, 0, 0); +DRIVER_MODULE(oce, pci, oce_driver, 0, 0); MODULE_PNP_INFO("W32:vendor/device", pci, oce, supportedDevices, nitems(supportedDevices)); MODULE_DEPEND(oce, pci, 1, 1, 1);