From nobody Mon May 09 19:22:31 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 054D91AC00D8; Mon, 9 May 2022 19:22:32 +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 4KxrfH5HFzz3nvS; Mon, 9 May 2022 19:22:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124151; 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=h7vloi+HUgRNHEo7VFAuYNxWGA96YIIDONvygcpX/Hw=; b=cCMASolKiAKAb7Nl46lWy/kDHhc0RofjCqHMecVheutCAb19nqzzwl/j0sYte4B1/yhmAI 3Kan5c6BnH1z5+GN2tUHg76GAKZLDeJa7w/zmkzAQUSGcsrl0oHkg0a+uwGdlLEuC5/9Pw gbpLIOTfb+igdbvkvwh2ZgRhzY83G1nzlYEBHfB74HTL/fHdhs6KJxtlrFg0cYNrUXgmfG h/89kV4FvBH2UalWmkwa7dzDQhe2n1/y1rCKoJiOKAuqd1Rwc1M4eRFDYRx5dlSUeBe0JY Wx5RkT4HSuk/pAkgZxSq5xTupKkbUVlbHz7WI11xa3/VLazu8zNSq+Pm8OXmPw== 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 7AA9F16FF6; Mon, 9 May 2022 19:22:31 +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 249JMV9G084966; Mon, 9 May 2022 19:22:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249JMVec084965; Mon, 9 May 2022 19:22:31 GMT (envelope-from git) Date: Mon, 9 May 2022 19:22:31 GMT Message-Id: <202205091922.249JMVec084965@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: 817be4317410 - main - Remove unused cfi_devclass. 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: 817be431741061152012464603ac7d47aca16cce Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124151; 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=h7vloi+HUgRNHEo7VFAuYNxWGA96YIIDONvygcpX/Hw=; b=T/DHJRYB4nqwa92RtUKiRIUeuD1T2ntIoJbgU4mS2vKZNB9mQ85oPQjwcCT9ZtEON9SaQ9 09UvayLstL3X3a9dJfVAKVto+9qpvgPedmvTJ2LyRbI4kFn12EDXJxKJcJsIkt+kTJZSoR 04s9uyZn4AmLqx1orryz9z4vlLVmaazMjSMVr+i42ASGIseJfBzVgSz65yFmf7crW6gsjR Oy0eBGMafOgvFE5i8roQFR04DkZG92rg8m1yRMVN3fgEX/1BXFxT5gaIAGqh5FhD+5FmJK wSqEikZnQyKQpGjFbqPAw/rhIrGW/vVqJorK+HdcREhzFO7uGIJiCxwSiFALTA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652124151; a=rsa-sha256; cv=none; b=Xg6ul4Xhkq2oSKAsgFeXHDqXy3tSZkgGJ08/Z7mnVcSbPY+X1L2BZ6NqkzUyH6ZtbgUX4X z3jvpZpgLIzoXggPXlsIhJhALG5soeANkrrIqaHA9RXPGisoGayJL5nNhlY3TvzK5yyqCR 6hJ1A08dHwJZwtreg8j4qlOaPsv5UhMRffkGiAr9d20rAR+RUSHWlNSz0LcCSYOzponPWM CZGu8MzpLDAeeOL/hIVkWlymZlsg5SAZrlCyGc+g6r7zioZ+7QZZ4LszuCCiuRbOIuowHO Qn6/0t+t1RVkZ1VdnX6spNEaCRVphyOzawGoRuaJRdTFms/eSoPNnASzBXjyIw== 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=817be431741061152012464603ac7d47aca16cce commit 817be431741061152012464603ac7d47aca16cce Author: John Baldwin AuthorDate: 2022-05-09 19:22:00 +0000 Commit: John Baldwin CommitDate: 2022-05-09 19:22:00 +0000 Remove unused cfi_devclass. --- sys/dev/bhnd/cores/chipc/chipc_cfi.c | 2 +- sys/dev/cfi/cfi_bus_fdt.c | 4 ++-- sys/dev/cfi/cfi_bus_nexus.c | 3 ++- sys/dev/cfi/cfi_core.c | 1 - sys/dev/cfi/cfi_var.h | 1 - 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/sys/dev/bhnd/cores/chipc/chipc_cfi.c b/sys/dev/bhnd/cores/chipc/chipc_cfi.c index 0602893d9027..78882527ec5c 100644 --- a/sys/dev/bhnd/cores/chipc/chipc_cfi.c +++ b/sys/dev/bhnd/cores/chipc/chipc_cfi.c @@ -87,4 +87,4 @@ static driver_t chipc_cfi_driver = { sizeof(struct cfi_softc), }; -DRIVER_MODULE(cfi, bhnd_chipc, chipc_cfi_driver, cfi_devclass, 0, 0); +DRIVER_MODULE(cfi, bhnd_chipc, chipc_cfi_driver, 0, 0); diff --git a/sys/dev/cfi/cfi_bus_fdt.c b/sys/dev/cfi/cfi_bus_fdt.c index 6e275b29106d..f0c6666569e3 100644 --- a/sys/dev/cfi/cfi_bus_fdt.c +++ b/sys/dev/cfi/cfi_bus_fdt.c @@ -62,8 +62,8 @@ static driver_t cfi_fdt_driver = { sizeof(struct cfi_softc), }; -DRIVER_MODULE (cfi, lbc, cfi_fdt_driver, cfi_devclass, 0, 0); -DRIVER_MODULE (cfi, simplebus, cfi_fdt_driver, cfi_devclass, 0, 0); +DRIVER_MODULE (cfi, lbc, cfi_fdt_driver, 0, 0); +DRIVER_MODULE (cfi, simplebus, cfi_fdt_driver, 0, 0); static int cfi_fdt_probe(device_t dev) diff --git a/sys/dev/cfi/cfi_bus_nexus.c b/sys/dev/cfi/cfi_bus_nexus.c index 1c2607aadf91..18e4ea00617b 100644 --- a/sys/dev/cfi/cfi_bus_nexus.c +++ b/sys/dev/cfi/cfi_bus_nexus.c @@ -80,4 +80,5 @@ static driver_t cfi_nexus_driver = { cfi_nexus_methods, sizeof(struct cfi_softc), }; -DRIVER_MODULE(cfi, nexus, cfi_nexus_driver, cfi_devclass, 0, 0); + +DRIVER_MODULE(cfi, nexus, cfi_nexus_driver, 0, 0); diff --git a/sys/dev/cfi/cfi_core.c b/sys/dev/cfi/cfi_core.c index 0c88fc8cf47e..929397617524 100644 --- a/sys/dev/cfi/cfi_core.c +++ b/sys/dev/cfi/cfi_core.c @@ -62,7 +62,6 @@ static void cfi_add_sysctls(struct cfi_softc *); extern struct cdevsw cfi_cdevsw; char cfi_driver_name[] = "cfi"; -devclass_t cfi_devclass; devclass_t cfi_diskclass; uint32_t diff --git a/sys/dev/cfi/cfi_var.h b/sys/dev/cfi/cfi_var.h index 4ac579c36a10..a5e9f57edd36 100644 --- a/sys/dev/cfi/cfi_var.h +++ b/sys/dev/cfi/cfi_var.h @@ -86,7 +86,6 @@ struct cfi_softc { }; extern char cfi_driver_name[]; -extern devclass_t cfi_devclass; extern devclass_t cfi_diskclass; int cfi_probe(device_t);