git: 9da2c05a748f - main - kern: Remove unreachable compat_freebsd8 FEATURE

From: Christos Margiolis <christos_at_FreeBSD.org>
Date: Sun, 01 Nov 2026 13:34:25 UTC
The branch main has been updated by christos:

URL: https://cgit.FreeBSD.org/src/commit/?id=9da2c05a748fd17757638e1a9e78215cdb8b80d0

commit 9da2c05a748fd17757638e1a9e78215cdb8b80d0
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2026-10-27 10:49:46 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2026-11-01 13:33:15 +0000

    kern: Remove unreachable compat_freebsd8 FEATURE
    
    COMPAT_FREEBSD8 does not exist as a kernel option, so this is dead code.
    
    No functional change intended.
    
    Fixes:          e256f71389fb ("kernel: add missed FEATUREs compat_freebsd 8-14")
    MFC after:      1 week
    Sponsored by:   The FreeBSD Foundation
    Reviewed by:    kib
    Pull-Request:   https://ron-dev.freebsd.org/FreeBSD/src/pulls/80
---
 sys/kern/kern_mib.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/sys/kern/kern_mib.c b/sys/kern/kern_mib.c
index 04f5270e28a8..51146be76d55 100644
--- a/sys/kern/kern_mib.c
+++ b/sys/kern/kern_mib.c
@@ -646,10 +646,6 @@ FEATURE(compat_freebsd6, "Compatible with FreeBSD 6");
 FEATURE(compat_freebsd7, "Compatible with FreeBSD 7");
 #endif
 
-#ifdef COMPAT_FREEBSD8
-FEATURE(compat_freebsd8, "Compatible with FreeBSD 8");
-#endif
-
 #ifdef COMPAT_FREEBSD9
 FEATURE(compat_freebsd9, "Compatible with FreeBSD 9");
 #endif