From 45479eb1de1f07e22e3261516166821b35ffa89c Mon Sep 17 00:00:00 2001 From: Ryan Moeller Date: Sat, 31 Oct 2020 12:37:56 -0400 Subject: [PATCH] Remove duplicate cond_resched() definition Reviewed-by: Alexander Motin Reviewed-by: Brian Behlendorf Signed-off-by: Ryan Moeller Closes #11131 --- include/os/freebsd/zfs/sys/zfs_context_os.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/os/freebsd/zfs/sys/zfs_context_os.h b/include/os/freebsd/zfs/sys/zfs_context_os.h index 0316f93b2..8dbe907d0 100644 --- a/include/os/freebsd/zfs/sys/zfs_context_os.h +++ b/include/os/freebsd/zfs/sys/zfs_context_os.h @@ -56,7 +56,6 @@ #define tsd_set(key, value) osd_thread_set(curthread, (key), (value)) #define fm_panic panic -#define cond_resched() kern_yield(PRI_USER) extern int zfs_debug_level; extern struct mtx zfs_debug_mtx; #define ZFS_LOG(lvl, ...) do { \