From owner-svn-src-head@FreeBSD.ORG Mon Feb 27 16:10:26 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D415D1065672; Mon, 27 Feb 2012 16:10:26 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C3B548FC16; Mon, 27 Feb 2012 16:10:26 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q1RGAQ9q025807; Mon, 27 Feb 2012 16:10:26 GMT (envelope-from kevlo@svn.freebsd.org) Received: (from kevlo@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q1RGAQOI025805; Mon, 27 Feb 2012 16:10:26 GMT (envelope-from kevlo@svn.freebsd.org) Message-Id: <201202271610.q1RGAQOI025805@svn.freebsd.org> From: Kevin Lo Date: Mon, 27 Feb 2012 16:10:26 +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: r232219 - head/sys/dev/mlx X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 16:10:26 -0000 Author: kevlo Date: Mon Feb 27 16:10:26 2012 New Revision: 232219 URL: http://svn.freebsd.org/changeset/base/232219 Log: Remove unused variable count. This variable is initialized but not used. Modified: head/sys/dev/mlx/mlx.c Modified: head/sys/dev/mlx/mlx.c ============================================================================== --- head/sys/dev/mlx/mlx.c Mon Feb 27 16:08:18 2012 (r232218) +++ head/sys/dev/mlx/mlx.c Mon Feb 27 16:10:26 2012 (r232219) @@ -2254,7 +2254,7 @@ static void mlx_complete(struct mlx_softc *sc) { struct mlx_command *mc, *nc; - int s, count; + int s; debug_called(2); @@ -2263,7 +2263,6 @@ mlx_complete(struct mlx_softc *sc) return; s = splbio(); - count = 0; /* scan the list of busy/done commands */ mc = TAILQ_FIRST(&sc->mlx_work);