svn commit: r260723 - stable/10/sys/kern

Andriy Gapon avg at FreeBSD.org
Thu Jan 16 14:11:46 UTC 2014


Author: avg
Date: Thu Jan 16 14:11:45 2014
New Revision: 260723
URL: http://svnweb.freebsd.org/changeset/base/260723

Log:
  MFC r258354: taskqueue_cancel: garbage collect a write-only variable

Modified:
  stable/10/sys/kern/subr_taskqueue.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/kern/subr_taskqueue.c
==============================================================================
--- stable/10/sys/kern/subr_taskqueue.c	Thu Jan 16 14:08:11 2014	(r260722)
+++ stable/10/sys/kern/subr_taskqueue.c	Thu Jan 16 14:11:45 2014	(r260723)
@@ -377,11 +377,9 @@ taskqueue_cancel_locked(struct taskqueue
 int
 taskqueue_cancel(struct taskqueue *queue, struct task *task, u_int *pendp)
 {
-	u_int pending;
 	int error;
 
 	TQ_LOCK(queue);
-	pending = task->ta_pending;
 	error = taskqueue_cancel_locked(queue, task, pendp);
 	TQ_UNLOCK(queue);
 


More information about the svn-src-all mailing list