Remove duplicate cond_resched() definition

Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #11131
This commit is contained in:
Ryan Moeller 2020-10-31 12:37:56 -04:00 committed by GitHub
parent 65a343bbd3
commit 2f94e8f09e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,6 @@
#define tsd_set(key, value) osd_thread_set(curthread, (key), (value)) #define tsd_set(key, value) osd_thread_set(curthread, (key), (value))
#define fm_panic panic #define fm_panic panic
#define cond_resched() kern_yield(PRI_USER)
extern int zfs_debug_level; extern int zfs_debug_level;
extern struct mtx zfs_debug_mtx; extern struct mtx zfs_debug_mtx;
#define ZFS_LOG(lvl, ...) do { \ #define ZFS_LOG(lvl, ...) do { \