summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRyan Moeller <[email protected]>2020-10-31 12:37:56 -0400
committerBrian Behlendorf <[email protected]>2020-11-03 09:50:52 -0800
commit45479eb1de1f07e22e3261516166821b35ffa89c (patch)
tree8dd0772be8b6cb57226a66475ed84f606b1a85b7 /include
parentaaeffd09bf3323b456edc1f23108fc1c04f23100 (diff)
Remove duplicate cond_resched() definition
Reviewed-by: Alexander Motin <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ryan Moeller <[email protected]> Closes #11131
Diffstat (limited to 'include')
-rw-r--r--include/os/freebsd/zfs/sys/zfs_context_os.h1
1 files changed, 0 insertions, 1 deletions
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 { \