Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jul 2010 17:23:43 +0000 (UTC)
From:      Matthew D Fleming <mdf@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r210380 - head/sys/kern
Message-ID:  <201007221723.o6MHNh5t011059@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mdf
Date: Thu Jul 22 17:23:43 2010
New Revision: 210380
URL: http://svn.freebsd.org/changeset/base/210380

Log:
  Remove unused variable that snuck in during development.
  
  Approved by:    zml (mentor)

Modified:
  head/sys/kern/subr_taskqueue.c

Modified: head/sys/kern/subr_taskqueue.c
==============================================================================
--- head/sys/kern/subr_taskqueue.c	Thu Jul 22 17:02:51 2010	(r210379)
+++ head/sys/kern/subr_taskqueue.c	Thu Jul 22 17:23:43 2010	(r210380)
@@ -220,11 +220,10 @@ taskqueue_unblock(struct taskqueue *queu
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007221723.o6MHNh5t011059>