summaryrefslogtreecommitdiff
path: root/sys/dev/pci/neo.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/neo.c')
-rw-r--r--sys/dev/pci/neo.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/neo.c b/sys/dev/pci/neo.c
index 2baccef69de..f67cc61505d 100644
--- a/sys/dev/pci/neo.c
+++ b/sys/dev/pci/neo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: neo.c,v 1.22 2008/05/29 02:10:01 jakemsr Exp $ */
+/* $OpenBSD: neo.c,v 1.23 2008/10/25 22:30:43 jakemsr Exp $ */
/*
* Copyright (c) 1999 Cameron Grant <gandalf@vilnya.demon.co.uk>
@@ -862,8 +862,6 @@ neo_set_params(addr, setmode, usemode, play, rec)
if (p->sample_rate < (samplerates[x] + samplerates[x + 1]) / 2)
break;
- if (x == 8) return (EINVAL);
-
p->sample_rate = samplerates[x];
nm_loadcoeff(sc, mode, x);