diff options
-rw-r--r-- | sys/dev/pci/azalia_codec.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/pci/azalia_codec.c b/sys/dev/pci/azalia_codec.c index da6a33d77c1..c14e5b0eca8 100644 --- a/sys/dev/pci/azalia_codec.c +++ b/sys/dev/pci/azalia_codec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: azalia_codec.c,v 1.78 2008/11/30 21:58:43 jakemsr Exp $ */ +/* $OpenBSD: azalia_codec.c,v 1.79 2008/11/30 22:01:34 jakemsr Exp $ */ /* $NetBSD: azalia_codec.c,v 1.8 2006/05/10 11:17:27 kent Exp $ */ /*- @@ -687,9 +687,8 @@ azalia_generic_mixer_init(codec_t *this) l++; } d->un.s.num_mem = l; - if (l == 0) - continue; - this->nmixers++; + if (l != 0) + this->nmixers++; } } |