From f2b4ed3fe5d1305a23da23592f27ee66731a722b Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Tue, 6 Jan 2026 21:14:53 +1100 Subject: [PATCH] spl: remove a _KERNEL check This code is only compiled for the Linux kernel module, so that define is always set. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf Reviewed-by: Alexander Motin Signed-off-by: Rob Norris Closes #18117 --- module/os/linux/spl/spl-trace.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/module/os/linux/spl/spl-trace.c b/module/os/linux/spl/spl-trace.c index 1c984f221..76ee71074 100644 --- a/module/os/linux/spl/spl-trace.c +++ b/module/os/linux/spl/spl-trace.c @@ -27,8 +27,6 @@ #include -#ifdef _KERNEL #define CREATE_TRACE_POINTS #include #include -#endif