Date: Thu, 16 Jan 2014 14:11:45 +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-10@freebsd.org Subject: svn commit: r260723 - stable/10/sys/kern Message-ID: <201401161411.s0GEBjs5028156@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401161411.s0GEBjs5028156>