From nobody Fri Nov 19 06:20:28 2021 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 EAD271850E07; Fri, 19 Nov 2021 06:20:28 +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 4HwRNr6KScz3Ldy; Fri, 19 Nov 2021 06:20:28 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 B568723596; Fri, 19 Nov 2021 06:20:28 +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 1AJ6KSqR078315; Fri, 19 Nov 2021 06:20:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AJ6KS08078314; Fri, 19 Nov 2021 06:20:28 GMT (envelope-from git) Date: Fri, 19 Nov 2021 06:20:28 GMT Message-Id: <202111190620.1AJ6KS08078314@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 9cb485d18f01 - main - geom: Remove g_class.config 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9cb485d18f01900800efe4ec3cfcfadd335da858 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=9cb485d18f01900800efe4ec3cfcfadd335da858 commit 9cb485d18f01900800efe4ec3cfcfadd335da858 Author: Wuyang Chung AuthorDate: 2021-10-16 01:43:54 +0000 Commit: Warner Losh CommitDate: 2021-11-19 06:17:07 +0000 geom: Remove g_class.config g_class.config is write only, remove it. --- sys/geom/geom.h | 1 - sys/geom/geom_subr.c | 1 - 2 files changed, 2 deletions(-) diff --git a/sys/geom/geom.h b/sys/geom/geom.h index 1aba1f46d6d5..0d6d74d0b51c 100644 --- a/sys/geom/geom.h +++ b/sys/geom/geom.h @@ -96,7 +96,6 @@ struct g_class { u_int version; u_int spare0; g_taste_t *taste; - g_config_t *config; g_ctl_req_t *ctlreq; g_init_t *init; g_fini_t *fini; diff --git a/sys/geom/geom_subr.c b/sys/geom/geom_subr.c index 2f7ea7754f7b..abaae5ccf57f 100644 --- a/sys/geom/geom_subr.c +++ b/sys/geom/geom_subr.c @@ -222,7 +222,6 @@ retry: /* Bar new entries */ mp->taste = NULL; - mp->config = NULL; LIST_FOREACH(gp, &mp->geom, geom) { error = mp->destroy_geom(NULL, mp, gp);