git: f11c79fc0046 - main - Revert "modules: Add missing opt_*.h files for stand-alone compile"

From: Warner Losh <imp_at_FreeBSD.org>
Date: Thu, 17 Oct 2024 18:52:48 UTC
The branch main has been updated by imp:

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

commit f11c79fc0046c1579faf7cdf6505c51846cc5709
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-10-17 18:49:42 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-10-17 18:52:32 +0000

    Revert "modules: Add missing opt_*.h files for stand-alone compile"
    
    This reverts commit 1a37caeb076b9d31e13c54691d7f1eeb589798bb.
    
    I'd overlooked 06c07e1203324bfe8ab4526c82dbb750864272d5 when I updated a
    branch I'd previously committed but not updated. My search for this in
    my tree before the commit was to a stale file...
    
    Sponsored by:           Netflix
---
 sys/modules/linux/Makefile   | 2 --
 sys/modules/linux64/Makefile | 5 +----
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile
index 36dfbbe2192f..eb4e17ec706b 100644
--- a/sys/modules/linux/Makefile
+++ b/sys/modules/linux/Makefile
@@ -33,7 +33,6 @@ SRCS=	linux${SFX}_dummy_machdep.c \
 	linux_uid16.c \
 	linux_vdso.c \
 	linux_xattr.c \
-	opt_compat.h \
 	opt_inet.h \
 	opt_inet6.h \
 	opt_ktrace.h \
@@ -42,7 +41,6 @@ SRCS=	linux${SFX}_dummy_machdep.c \
 	bus_if.h \
 	device_if.h \
 	vnode_if.h
-
 .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
 SRCS+=	linux_dummy_x86.c
 VDSODEPS=linux_vdso_gettc_x86.inc
diff --git a/sys/modules/linux64/Makefile b/sys/modules/linux64/Makefile
index 119d90126ab3..b23891a65a4f 100644
--- a/sys/modules/linux64/Makefile
+++ b/sys/modules/linux64/Makefile
@@ -28,17 +28,14 @@ SRCS=	linux_dummy_machdep.c \
 	linux_vdso.c \
 	linux_timer.c \
 	linux_xattr.c \
-	opt_compat.h \
-	opt_inet6.h \
 	opt_ktrace.h \
+	opt_inet6.h \
 	opt_posix.h \
-	opt_usb.h \
 	bus_if.h \
 	device_if.h \
 	vnode_if.h \
 	linux_support.S \
 	linux_vdso_inc.S
-
 .if ${MACHINE_CPUARCH} == "amd64"
 SRCS+=	linux_dummy_x86.c
 .endif