git: 5d1c658b47e4 - main - hptmv: purge EOL release compatibility
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 Feb 2023 16:20:28 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=5d1c658b47e442b8911920a325bfb1dc58e444f8 commit 5d1c658b47e442b8911920a325bfb1dc58e444f8 Author: Elliott Mitchell <ehem+freebsd@m5p.com> AuthorDate: 2022-06-23 00:53:47 +0000 Commit: Warner Losh <imp@FreeBSD.org> 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);