| 546 | } |
| 547 | |
| 548 | int |
| 549 | taskqueue_cancel(struct taskqueue *queue, struct task *task, u_int *pendp) |
| 550 | { |
| 551 | int error; |
| 552 | |
| 553 | TQ_LOCK(queue); |
| 554 | error = taskqueue_cancel_locked(queue, task, pendp); |
| 555 | TQ_UNLOCK(queue); |
| 556 | |
| 557 | return (error); |
| 558 | } |
| 559 | |
| 560 | int |
| 561 | taskqueue_cancel_timeout(struct taskqueue *queue, |
no test coverage detected