git: 5bcf0f7cd744 - main - linux(4): Rid unused defines from linux_mib.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 31 Mar 2022 17:50:42 UTC
The branch main has been updated by dchagin:
URL: https://cgit.FreeBSD.org/src/commit/?id=5bcf0f7cd7441a1f88383545fec6c370b934f1a1
commit 5bcf0f7cd7441a1f88383545fec6c370b934f1a1
Author: Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2022-03-31 17:45:12 +0000
Commit: Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2022-03-31 17:45:12 +0000
linux(4): Rid unused defines from linux_mib.
Reviewed by: trasz
Differential revision: https://reviews.freebsd.org/D31591
MFC after: 2 weeks
---
sys/compat/linux/linux_mib.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/sys/compat/linux/linux_mib.h b/sys/compat/linux/linux_mib.h
index e2064903b28b..615439b4d107 100644
--- a/sys/compat/linux/linux_mib.h
+++ b/sys/compat/linux/linux_mib.h
@@ -58,11 +58,9 @@ int linux_kernver(struct thread *td);
#define LINUX_VERSION_STR LINUX_XKERNVERSTR(LINUX_KVERSION.LINUX_KPATCHLEVEL.LINUX_KSUBLEVEL)
#define LINUX_KERNVER_2004000 LINUX_KERNVER(2,4,0)
-#define LINUX_KERNVER_2006000 LINUX_KERNVER(2,6,0)
#define LINUX_KERNVER_2006039 LINUX_KERNVER(2,6,39)
#define LINUX_KERNVER_5004000 LINUX_KERNVER(5,4,0)
-#define linux_use26(t) (linux_kernver(t) >= LINUX_KERNVER_2006000)
#define linux_use54(t) (linux_kernver(t) >= LINUX_KERNVER_5004000)
extern int linux_debug;