Remove unused variable that snuck in during development.

Approved by:    zml (mentor)
This commit is contained in:
mdf 2010-07-22 17:23:43 +00:00
parent fa23fa820a
commit e8106ea76c

View File

@ -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