summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authormdf <mdf@FreeBSD.org>2010-07-22 17:23:43 +0000
committermdf <mdf@FreeBSD.org>2010-07-22 17:23:43 +0000
commite8106ea76c7b15db5ec37d17b60dc413e1cb0c3e (patch)
tree718d08a35d565c0c565a049f8a91cf81d3f3bfb2 /sys/kern
parentfa23fa820ab654dffda5fdb3a938f75cf77b3646 (diff)
downloadFreeBSD-src-e8106ea76c7b15db5ec37d17b60dc413e1cb0c3e.zip
FreeBSD-src-e8106ea76c7b15db5ec37d17b60dc413e1cb0c3e.tar.gz
Remove unused variable that snuck in during development.
Approved by: zml (mentor)
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/subr_taskqueue.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/subr_taskqueue.c b/sys/kern/subr_taskqueue.c
index 6ccf143..c1e365e 100644
--- a/sys/kern/subr_taskqueue.c
+++ b/sys/kern/subr_taskqueue.c
@@ -220,11 +220,10 @@ taskqueue_unblock(struct taskqueue *queue)
static void
taskqueue_run(struct taskqueue *queue, struct task **tpp)
{
- struct task *task, *running;
+ struct task *task;
int pending;
mtx_assert(&queue->tq_mutex, MA_OWNED);
- running = NULL;
while (STAILQ_FIRST(&queue->tq_queue)) {
/*
* Carefully remove the first task from the queue and
OpenPOWER on IntegriCloud