summaryrefslogtreecommitdiffstats
path: root/sys/dev/mlx
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2012-02-27 16:10:26 +0000
committerkevlo <kevlo@FreeBSD.org>2012-02-27 16:10:26 +0000
commit64abf5eee6b47b7ec02b04ff17822f40003379a7 (patch)
tree6b3a0561c6e7c9b823dc7fd32e031895f42f7e91 /sys/dev/mlx
parent4110bb206bc0bd2ea81164dc7f0f861d50674b40 (diff)
downloadFreeBSD-src-64abf5eee6b47b7ec02b04ff17822f40003379a7.zip
FreeBSD-src-64abf5eee6b47b7ec02b04ff17822f40003379a7.tar.gz
Remove unused variable count.
This variable is initialized but not used.
Diffstat (limited to 'sys/dev/mlx')
-rw-r--r--sys/dev/mlx/mlx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/mlx/mlx.c b/sys/dev/mlx/mlx.c
index 6087216..731af8f 100644
--- a/sys/dev/mlx/mlx.c
+++ b/sys/dev/mlx/mlx.c
@@ -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);
OpenPOWER on IntegriCloud