svn commit: r210380 - head/sys/kern

Matthew D Fleming mdf at FreeBSD.org
Thu Jul 22 17:23:43 UTC 2010


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


More information about the svn-src-head mailing list