Date: Tue, 19 Nov 2013 18:45:30 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r258354 - head/sys/kern Message-ID: <201311191845.rAJIjUSw027262@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avg Date: Tue Nov 19 18:45:29 2013 New Revision: 258354 URL: http://svnweb.freebsd.org/changeset/base/258354 Log: taskqueue_cancel: garbage collect a write-only variable MFC after: 3 days Modified: head/sys/kern/subr_taskqueue.c Modified: head/sys/kern/subr_taskqueue.c ============================================================================== --- head/sys/kern/subr_taskqueue.c Tue Nov 19 18:43:47 2013 (r258353) +++ head/sys/kern/subr_taskqueue.c Tue Nov 19 18:45:29 2013 (r258354) @@ -390,11 +390,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?201311191845.rAJIjUSw027262>