Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jan 2014 14:11:56 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r260724 - stable/9/sys/kern
Message-ID:  <201401161411.s0GEBu4n028215@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 



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