diff options
author | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2008-10-31 06:40:13 +0000 |
---|---|---|
committer | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2008-10-31 06:40:13 +0000 |
commit | 78a978a0a98e1958e92cbea26678c936def7ee57 (patch) | |
tree | 888bfb4cc6db40c8d3249734dfc6552b38c8864e /sys/dev/pci/azalia.c | |
parent | f4fcfe39723cf9287acf4a9f9c6b7e4ee774a3dc (diff) |
some leftover bits from r1.32 that should have been removed in
r1.51
pointed out by Alexey Suslikov, thanks
Diffstat (limited to 'sys/dev/pci/azalia.c')
-rw-r--r-- | sys/dev/pci/azalia.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/dev/pci/azalia.c b/sys/dev/pci/azalia.c index d4a52b4c4dd..5bbc7d1cc77 100644 --- a/sys/dev/pci/azalia.c +++ b/sys/dev/pci/azalia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: azalia.c,v 1.62 2008/10/25 22:30:43 jakemsr Exp $ */ +/* $OpenBSD: azalia.c,v 1.63 2008/10/31 06:40:12 jakemsr Exp $ */ /* $NetBSD: azalia.c,v 1.20 2006/05/07 08:31:44 kent Exp $ */ /*- @@ -1376,15 +1376,6 @@ azalia_codec_construct_format(codec_t *this, int newdac, int newadc) } rvariation = group->nconv * nbits; - if (bits_rates & COP_PCM_R441) - this->rate = 44100; - else if (bits_rates & COP_PCM_R480) - this->rate = 48000; - else { - printf("%s: %s/%d invalid PCM format: 0x%8.8x\n", - XNAME(this->az), __FILE__, __LINE__, bits_rates); - return -1; - } if (this->formats != NULL) free(this->formats, M_DEVBUF); this->nformats = 0; |