From owner-svn-src-all@FreeBSD.ORG Thu Jul 22 17:23:43 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0F6C106566B; Thu, 22 Jul 2010 17:23:43 +0000 (UTC) (envelope-from mdf@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id BFCB68FC16; Thu, 22 Jul 2010 17:23:43 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o6MHNhLx011061; Thu, 22 Jul 2010 17:23:43 GMT (envelope-from mdf@svn.freebsd.org) Received: (from mdf@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o6MHNh5t011059; Thu, 22 Jul 2010 17:23:43 GMT (envelope-from mdf@svn.freebsd.org) Message-Id: <201007221723.o6MHNh5t011059@svn.freebsd.org> From: Matthew D Fleming Date: Thu, 22 Jul 2010 17:23:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r210380 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jul 2010 17:23:43 -0000 Author: mdf Date: Thu Jul 22 17:23:43 2010 New Revision: 210380 URL: http://svn.freebsd.org/changeset/base/210380 Log: Remove unused variable that snuck in during development. Approved by: zml (mentor) Modified: head/sys/kern/subr_taskqueue.c Modified: head/sys/kern/subr_taskqueue.c ============================================================================== --- head/sys/kern/subr_taskqueue.c Thu Jul 22 17:02:51 2010 (r210379) +++ head/sys/kern/subr_taskqueue.c Thu Jul 22 17:23:43 2010 (r210380) @@ -220,11 +220,10 @@ taskqueue_unblock(struct taskqueue *queu static void taskqueue_run(struct taskqueue *queue, struct task **tpp) { - struct task *task, *running; + struct task *task; int pending; mtx_assert(&queue->tq_mutex, MA_OWNED); - running = NULL; while (STAILQ_FIRST(&queue->tq_queue)) { /* * Carefully remove the first task from the queue and