summaryrefslogtreecommitdiff
path: root/sys/dev/pci/auixp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/auixp.c')
-rw-r--r--sys/dev/pci/auixp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/auixp.c b/sys/dev/pci/auixp.c
index 88d4dced2f2..9304863aca2 100644
--- a/sys/dev/pci/auixp.c
+++ b/sys/dev/pci/auixp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auixp.c,v 1.20 2008/09/17 06:14:09 brad Exp $ */
+/* $OpenBSD: auixp.c,v 1.21 2008/09/24 19:09:05 chl Exp $ */
/* $NetBSD: auixp.c,v 1.9 2005/06/27 21:13:09 thorpej Exp $ */
/*
@@ -370,12 +370,10 @@ auixp_set_params(void *hdl, int setmode, int usemode,
struct audio_params *play, struct audio_params *rec)
{
struct auixp_codec *co;
- struct auixp_softc *sc;
int error;
u_int temprate;
co = (struct auixp_codec *) hdl;
- sc = co->sc;
if (setmode & AUMODE_PLAY) {
play->factor = 1;
play->sw_code = NULL;