Date: Fri, 11 Mar 2011 19:16:18 +0200 From: Andriy Gapon <avg@freebsd.org> To: src-committers@freebsd.org Cc: svn-src-stable@freebsd.org, svn-src-all@freebsd.org Subject: Re: svn commit: r219492 - stable/8/sys/kern Message-ID: <4D7A58E2.1010001@freebsd.org> In-Reply-To: <201103111514.p2BFEeaH083790@svn.freebsd.org> References: <201103111514.p2BFEeaH083790@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
on 11/03/2011 17:14 Andriy Gapon said the following: > Author: avg > Date: Fri Mar 11 15:14:40 2011 > New Revision: 219492 > URL: http://svn.freebsd.org/changeset/base/219492 > > Log: > MFC r215750: taskqueue: drop unused tq_name field In stable/7 this field is still used in tasqueue_find function. > Modified: > stable/8/sys/kern/subr_taskqueue.c > Directory Properties: > stable/8/sys/ (props changed) > stable/8/sys/amd64/include/xen/ (props changed) > stable/8/sys/cddl/contrib/opensolaris/ (props changed) > stable/8/sys/contrib/dev/acpica/ (props changed) > stable/8/sys/contrib/pf/ (props changed) > > Modified: stable/8/sys/kern/subr_taskqueue.c > ============================================================================== > --- stable/8/sys/kern/subr_taskqueue.c Fri Mar 11 15:06:56 2011 (r219491) > +++ stable/8/sys/kern/subr_taskqueue.c Fri Mar 11 15:14:40 2011 (r219492) > @@ -53,7 +53,6 @@ struct taskqueue_busy { > > struct taskqueue { > STAILQ_HEAD(, task) tq_queue; > - const char *tq_name; > taskqueue_enqueue_fn tq_enqueue; > void *tq_context; > TAILQ_HEAD(, taskqueue_busy) tq_active; > @@ -98,7 +97,7 @@ TQ_SLEEP(struct taskqueue *tq, void *p, > } > > static struct taskqueue * > -_taskqueue_create(const char *name, int mflags, > +_taskqueue_create(const char *name __unused, int mflags, > taskqueue_enqueue_fn enqueue, void *context, > int mtxflags, const char *mtxname) > { > @@ -110,7 +109,6 @@ _taskqueue_create(const char *name, int > > STAILQ_INIT(&queue->tq_queue); > TAILQ_INIT(&queue->tq_active); > - queue->tq_name = name; > queue->tq_enqueue = enqueue; > queue->tq_context = context; > queue->tq_spin = (mtxflags & MTX_SPIN) != 0; -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D7A58E2.1010001>