diff --git a/sys/kern/subr_taskqueue.c b/sys/kern/subr_taskqueue.c index 086c4a95de81..2cf1f63d9a21 100644 --- a/sys/kern/subr_taskqueue.c +++ b/sys/kern/subr_taskqueue.c @@ -659,30 +659,6 @@ taskqueue_start_threads_cpuset(struct taskqueue **tqp, int count, int pri, return (error); } -int -taskqueue_start_threads_pinned(struct taskqueue **tqp, int count, int pri, - int cpu_id, const char *name, ...) -{ - cpuset_t mask; - va_list ap; - int error; - - /* - * In case someone passes in NOCPU, just fall back to the - * default behaviour of "don't pin". - */ - if (cpu_id != NOCPU) { - CPU_ZERO(&mask); - CPU_SET(cpu_id, &mask); - } - - va_start(ap, name); - error = _taskqueue_start_threads(tqp, count, pri, - cpu_id == NOCPU ? NULL : &mask, name, ap); - va_end(ap); - return (error); -} - static inline void taskqueue_run_callback(struct taskqueue *tq, enum taskqueue_callback_type cb_type) diff --git a/sys/sys/taskqueue.h b/sys/sys/taskqueue.h index 9a00ada1b3b5..9b72e46b5e6f 100644 --- a/sys/sys/taskqueue.h +++ b/sys/sys/taskqueue.h @@ -74,10 +74,6 @@ int taskqueue_start_threads(struct taskqueue **tqp, int count, int pri, const char *name, ...) __printflike(4, 5); int taskqueue_start_threads_cpuset(struct taskqueue **tqp, int count, int pri, cpuset_t *mask, const char *name, ...) __printflike(5, 6); -int taskqueue_start_threads_pinned(struct taskqueue **tqp, int count, - int pri, int cpu_id, const char *name, - ...) __printflike(5, 6); - int taskqueue_enqueue(struct taskqueue *queue, struct task *task); int taskqueue_enqueue_timeout(struct taskqueue *queue, struct timeout_task *timeout_task, int ticks);