summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRyan Moeller <[email protected]>2020-10-31 12:37:56 -0400
committerGitHub <[email protected]>2020-10-31 09:37:56 -0700
commit2f94e8f09ee37e83d9e74332e125c02841364639 (patch)
tree2622cc46d115787dbf76bc8a326fa05b05a3a77f /include
parent65a343bbd3b2c9f61b5970828a80443871ae39ac (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 3118c7d96..f4c4a5f87 100644
--- a/include/os/freebsd/zfs/sys/zfs_context_os.h
+++ b/include/os/freebsd/zfs/sys/zfs_context_os.h
@@ -57,7 +57,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 { \