From nobody Mon May 09 19:23:14 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 998921AC3859; Mon, 9 May 2022 19:23:16 +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 4Kxrg71W7pz3pDw; Mon, 9 May 2022 19:23:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124195; 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=rMzvkgZsCDPTnWfri+zxZ+50flKBO/DYH7ENqsuGZU8=; b=haDkGQ9FEuyh413UKrS2h4JG5X2JwZGlOGC6LL0YnR/Q1WeIFNi28xnDBUa6V1/u8Oxba2 zHuCWCr40gxlWF3fHEmUi24iVGxOtKmJae+SLJYY+mVN2nsZcgnul3O+HubsSDatvROV52 mmSsDX9Yug3wff8SfFGqqH0bHv5DraJMav3EuGYnuZzjzuCzFyhApH+EVqCxRuaY6SSVCu VT0OFEQl1WlWMo3kNQ6U0ipE/HdsSanQeUo/1jn8UAtSo8vBg/T01bc3zGrIhlkm+IzjHP B/D8rTTSpdT61yaoEezuSMjCLry3LrT+TsJzLwjFet5p/ZkGr+YSGUh3LPiCFw== 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 0B12616E92; Mon, 9 May 2022 19:23:15 +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 249JNEUt085921; Mon, 9 May 2022 19:23:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249JNELZ085920; Mon, 9 May 2022 19:23:14 GMT (envelope-from git) Date: Mon, 9 May 2022 19:23:14 GMT Message-Id: <202205091923.249JNELZ085920@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: 534c3629e60a - main - nvdimm: 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: 534c3629e60a1ac7938a57b7bf8d97da240347b2 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124195; 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=rMzvkgZsCDPTnWfri+zxZ+50flKBO/DYH7ENqsuGZU8=; b=SRklbNqNzRUGWsfoZmtbM/iZasIGYd5kHrX/LABgDZlT+K0WpWEjmE7eM1kTQHNcuR8ZZ6 Y6wTGxIycqxt1Z/SDnUN9DajNpmzgaGT7RiAMXvYxWz7W8JH6Rh7Wu61rvPTMLOIym9Phh BMi/qaY7VmJc9bEZnQDwtIdh6n1kD5CqWv4PPaT39d4ybLEc5ZUk3If2srf/iJRy1A+B2o rEaTXnhY0pZtW33kXTk8TQoOXdM3KOuXz8RLGW4L5e1jqppRPLH0RLF0ptsZ+Wlc5gPtNA 8pQp7lIaDNoTthKnyLDpRn6O7m71DBigB0OKNnXA1kmGVfGyoOZ5y2AZzDDugg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652124195; a=rsa-sha256; cv=none; b=wZps1ZPnrvQ7fsdwNjuvfBSoroAGjWtZAhsXdlf3SxxD8RcHLyPHvZKbDfWfeXwvxm/tEu /UIHC25aVTL3nLUFObCbbiZ4Fb3fusnbYRf9gStFJOK7h16ttm1mn2e4puspbpd7ss+Geo 6NdJ2O11/VG3MEccGTHLeGOP8NhcuIOyMzA7O7HAJLX10vvHafvOZiA/EqmQSEt8NtWm8L TOkBW59pJBJUE2nOyrMZwJLVP54SmIJ7IY1J8CPWMJI6oWH4wh3OjTrz+z3wmUL6u3RZ8L WH0hd7/7R6uYedwl7aWgpc/ZSIo3nhe+PuF3F7fvgbF5ICtAhV6+5RL1A10few== 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=534c3629e60a1ac7938a57b7bf8d97da240347b2 commit 534c3629e60a1ac7938a57b7bf8d97da240347b2 Author: John Baldwin AuthorDate: 2022-05-09 19:22:03 +0000 Commit: John Baldwin CommitDate: 2022-05-09 19:22:03 +0000 nvdimm: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/nvdimm/nvdimm.c | 4 +--- sys/dev/nvdimm/nvdimm_acpi.c | 4 +--- sys/dev/nvdimm/nvdimm_e820.c | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/sys/dev/nvdimm/nvdimm.c b/sys/dev/nvdimm/nvdimm.c index 730fd49fef27..356b8a5f79c4 100644 --- a/sys/dev/nvdimm/nvdimm.c +++ b/sys/dev/nvdimm/nvdimm.c @@ -63,7 +63,6 @@ static struct uuid intel_nvdimm_dsm_uuid = #define INTEL_NVDIMM_DSM_GET_LABEL_SIZE 4 #define INTEL_NVDIMM_DSM_GET_LABEL_DATA 5 -static devclass_t nvdimm_devclass; MALLOC_DEFINE(M_NVDIMM, "nvdimm", "NVDIMM driver memory"); static int @@ -469,6 +468,5 @@ nvdimm_find_by_handle(nfit_handle_t nv_handle) return (res); } -DRIVER_MODULE(nvdimm, nvdimm_acpi_root, nvdimm_driver, nvdimm_devclass, NULL, - NULL); +DRIVER_MODULE(nvdimm, nvdimm_acpi_root, nvdimm_driver, NULL, NULL); MODULE_DEPEND(nvdimm, acpi, 1, 1, 1); diff --git a/sys/dev/nvdimm/nvdimm_acpi.c b/sys/dev/nvdimm/nvdimm_acpi.c index fc24556d6535..7e41b04fd60f 100644 --- a/sys/dev/nvdimm/nvdimm_acpi.c +++ b/sys/dev/nvdimm/nvdimm_acpi.c @@ -275,7 +275,5 @@ static driver_t nvdimm_acpi_driver = { sizeof(struct nvdimm_root_dev), }; -static devclass_t nvdimm_acpi_root_devclass; -DRIVER_MODULE(nvdimm_acpi_root, acpi, nvdimm_acpi_driver, - nvdimm_acpi_root_devclass, NULL, NULL); +DRIVER_MODULE(nvdimm_acpi_root, acpi, nvdimm_acpi_driver, NULL, NULL); MODULE_DEPEND(nvdimm_acpi_root, acpi, 1, 1, 1); diff --git a/sys/dev/nvdimm/nvdimm_e820.c b/sys/dev/nvdimm/nvdimm_e820.c index 35ca8c60d1d0..4ede2cac8da6 100644 --- a/sys/dev/nvdimm/nvdimm_e820.c +++ b/sys/dev/nvdimm/nvdimm_e820.c @@ -356,8 +356,6 @@ static driver_t nvdimm_e820_driver = { sizeof(struct nvdimm_e820_bus), }; -static devclass_t nvdimm_e820_devclass; - static int nvdimm_e820_chainevh(struct module *m, int e, void *arg __unused) { @@ -390,5 +388,5 @@ nvdimm_e820_chainevh(struct module *m, int e, void *arg __unused) return (0); } -DRIVER_MODULE(nvdimm_e820, nexus, nvdimm_e820_driver, nvdimm_e820_devclass, +DRIVER_MODULE(nvdimm_e820, nexus, nvdimm_e820_driver, nvdimm_e820_chainevh, NULL);