svn commit: r258354 - head/sys/kern
Andriy Gapon
avg at FreeBSD.org
Tue Nov 19 18:45:30 UTC 2013
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);
More information about the svn-src-all
mailing list