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

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

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

Modified: stable/9/sys/kern/subr_taskqueue.c
==============================================================================
--- stable/9/sys/kern/subr_taskqueue.c  Thu Jan 16 14:11:45 2014        
(r260723)
+++ stable/9/sys/kern/subr_taskqueue.c  Thu Jan 16 14:11:56 2014        
(r260724)
@@ -356,11 +356,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);
 
_______________________________________________
svn-src-stable-9@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "svn-src-stable-9-unsubscr...@freebsd.org"

Reply via email to