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 <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Closes #18117
This commit is contained in:
Rob Norris 2026-01-06 21:14:53 +11:00 committed by Brian Behlendorf
parent 02a631139f
commit f2b4ed3fe5

View File

@ -27,8 +27,6 @@
#include <sys/taskq.h>
#ifdef _KERNEL
#define CREATE_TRACE_POINTS
#include <sys/trace.h>
#include <sys/trace_taskq.h>
#endif