Remove unused variable that snuck in during development.
Approved by: zml (mentor)
This commit is contained in:
parent
fa23fa820a
commit
e8106ea76c
@ -220,11 +220,10 @@ taskqueue_unblock(struct taskqueue *queue)
|
|||||||
static void
|
static void
|
||||||
taskqueue_run(struct taskqueue *queue, struct task **tpp)
|
taskqueue_run(struct taskqueue *queue, struct task **tpp)
|
||||||
{
|
{
|
||||||
struct task *task, *running;
|
struct task *task;
|
||||||
int pending;
|
int pending;
|
||||||
|
|
||||||
mtx_assert(&queue->tq_mutex, MA_OWNED);
|
mtx_assert(&queue->tq_mutex, MA_OWNED);
|
||||||
running = NULL;
|
|
||||||
while (STAILQ_FIRST(&queue->tq_queue)) {
|
while (STAILQ_FIRST(&queue->tq_queue)) {
|
||||||
/*
|
/*
|
||||||
* Carefully remove the first task from the queue and
|
* Carefully remove the first task from the queue and
|
||||||
|
Loading…
x
Reference in New Issue
Block a user