From nobody Sat Feb 04 16:20:28 2023 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 4P8Hn85sgVz3nZ03; Sat, 4 Feb 2023 16: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 4P8Hn83GKHz44TB; Sat, 4 Feb 2023 16:20:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675527628; 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=qLIDPsVLI96v60QFi6VV9xuUVdekxe8vinlA0sokyRI=; b=A56XQFfDvzGVXgqSYfxAp8fKndzQgmuXoimxeLfVo6IQOVt2Fp8nB0TQwZCAwv3ngBsk9l VRu3IEmG+DnS0p2Y/H33wq7MnuXCzGBCbldeY5tbZI5GicWNqU9FxF4HmV/IVrXsbz8p89 n8DIOIMnPy+4tlfvuntlhwCkLJw8M6JaVocZMK6XqFkPhwAfWy1eoELez6M++EmPLZCuYo j03BEaBIHcGmL8zF/8/A0+VtDO8AA23h9RkSuSy//YlYATUPVmpmKiFty085hEcuCaV/7V hKzgS6sIOO/qEeo1RBMH39FulGJkfpDMyTkjKOROTrLBHVZmash1gc2mpdA56A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675527628; 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=qLIDPsVLI96v60QFi6VV9xuUVdekxe8vinlA0sokyRI=; b=o+fbXtrAI/KsxPOWq/4hsbPzsoiNl0Rfs3WvHDf+/MhIXxVep+oPxTmBtPcGWhsweeJsoJ xdu25VkJw33Y67uaMRaW+XTMBIjQSp3JRi2LILtUtTmUz7STzSget0Bz1fnsUS8Q7OtIr7 9lPc63wefRZN2Tf9HxGImkV3+5QSBg3RfkPyXtLqqvkNdKI14+G33KX3hFd2DM1BYLZe4O ahbY1bbdb3pGtoUQ1O6uHQjQHowH6dxLGOA7YLdJfxU/l2VO68OLuH/uj7+zBS0RHu0d5M LQAHTErXgRm0Q9rpPWj1QqpE2GalQ/oFj535JwWGV7v0m7siOf5iYYTBdO5slw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675527628; a=rsa-sha256; cv=none; b=GXzpAaM5SoPDePaKgKjlLQ8vxb/rGKaya8pnARigOMxRVb9ItMF11gMtFFTsUvm4oP9Oz0 hpbeAIQOgK1kTZDJ1fueqwA1hsQAtRk49FiWbY3ENF9PY4z2IptdEDUM+AzbdiipZfUXLE v2uokDcDyNI+HDrWjvhFclr8Tg4ZI+2uJPiKvyEAzZTZBTjHqbBNVyNO+WzPRVICDBYOAp VmRj66wR0jkafHUL2uq3N6+xMUJVPPoctxGaj4YShbaeCQKHjlSKvXWQxe878WDdasWkFD tCA8kMer+xlGOruGN5tPDtYp4cSaauaOwauGcfo7blm71+xli/Ef2NcRdI7/2Q== 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 4P8Hn81vWPzLMC; Sat, 4 Feb 2023 16: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 314GKSM0013643; Sat, 4 Feb 2023 16: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 314GKSlW013642; Sat, 4 Feb 2023 16:20:28 GMT (envelope-from git) Date: Sat, 4 Feb 2023 16:20:28 GMT Message-Id: <202302041620.314GKSlW013642@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: 5d1c658b47e4 - main - hptmv: purge EOL release compatibility 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: 5d1c658b47e442b8911920a325bfb1dc58e444f8 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=5d1c658b47e442b8911920a325bfb1dc58e444f8 commit 5d1c658b47e442b8911920a325bfb1dc58e444f8 Author: Elliott Mitchell AuthorDate: 2022-06-23 00:53:47 +0000 Commit: Warner Losh CommitDate: 2023-02-04 16:13:09 +0000 hptmv: purge EOL release compatibility Drop support for pre-FreeBSD 11 Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/603 Differential Revision: https://reviews.freebsd.org/D35560 --- sys/dev/hptmv/hptproc.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/sys/dev/hptmv/hptproc.c b/sys/dev/hptmv/hptproc.c index dd4fe8d4fdb2..62d16ca14fc6 100644 --- a/sys/dev/hptmv/hptproc.c +++ b/sys/dev/hptmv/hptproc.c @@ -636,19 +636,11 @@ out: #define xhptregister_node(name) hptregister_node(name) -#if __FreeBSD_version >= 1100024 #define hptregister_node(name) \ SYSCTL_ROOT_NODE(OID_AUTO, name, CTLFLAG_RW | CTLFLAG_MPSAFE, 0, \ "Get/Set " #name " state root node"); \ SYSCTL_OID(_ ## name, OID_AUTO, status, \ CTLTYPE_STRING | CTLFLAG_RW | CTLFLAG_NEEDGIANT, \ NULL, 0, hpt_status, "A", "Get/Set " #name " state") -#else -#define hptregister_node(name) \ - SYSCTL_NODE(, OID_AUTO, name, CTLFLAG_RW, 0, "Get/Set " #name " state root node"); \ - SYSCTL_OID(_ ## name, OID_AUTO, status, \ - CTLTYPE_STRING | CTLFLAG_RW | CTLFLAG_MPSAFE, \ - NULL, 0, hpt_status, "A", "Get/Set " #name " state") -#endif - + xhptregister_node(PROC_DIR_NAME);