summaryrefslogtreecommitdiffstats
path: root/sys/dev/mlx/mlx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/mlx/mlx.c')
-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