diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2008-09-24 19:09:06 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2008-09-24 19:09:06 +0000 |
commit | 74ae10b2c01de363b3ca9851f92fc13c96a83abc (patch) | |
tree | efd9ad111dea8d86617cf8c6ee21bc93046ecaeb /sys/dev/pci/auixp.c | |
parent | 326269c600fa4ff9243d6e8e4988629967631cd8 (diff) |
remove dead stores and newly created unused variables.
Found by LLVM/Clang Static Analyzer.
ok ratchov@
Diffstat (limited to 'sys/dev/pci/auixp.c')
-rw-r--r-- | sys/dev/pci/auixp.c | 4 |
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; |