Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Feb 2012 16:10:26 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r232219 - head/sys/dev/mlx
Message-ID:  <201202271610.q1RGAQOI025805@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202271610.q1RGAQOI025805>