svn commit: r232219 - head/sys/dev/mlx

Kevin Lo kevlo at FreeBSD.org
Mon Feb 27 16:10:26 UTC 2012


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);


More information about the svn-src-all mailing list