summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorratchov <ratchov@openbsd.org>2013-05-15 21:19:16 +0000
committerratchov <ratchov@openbsd.org>2013-05-15 21:19:16 +0000
commit5bd8c8790ef1974a06fb5fd6dedf8dfce524ecca (patch)
treef4a5a9d5852c6f2f7a901618c022fbeb6cf9d40e
parentEdimax EW-7711USn works; from Dawe (diff)
downloadwireguard-openbsd-5bd8c8790ef1974a06fb5fd6dedf8dfce524ecca.tar.xz
wireguard-openbsd-5bd8c8790ef1974a06fb5fd6dedf8dfce524ecca.zip
remove unused variable
-rw-r--r--sys/arch/sparc/dev/audioamd.c4
-rw-r--r--sys/arch/vax/vsa/vsaudio.c4
-rw-r--r--sys/dev/ic/am7930.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/sparc/dev/audioamd.c b/sys/arch/sparc/dev/audioamd.c
index 68cde256e0e..5547a3f2d4f 100644
--- a/sys/arch/sparc/dev/audioamd.c
+++ b/sys/arch/sparc/dev/audioamd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: audioamd.c,v 1.2 2013/05/15 08:29:23 ratchov Exp $ */
+/* $OpenBSD: audioamd.c,v 1.3 2013/05/15 21:19:16 ratchov Exp $ */
/* $NetBSD: audioamd.c,v 1.26 2011/06/04 01:27:57 tsutsui Exp $ */
/*
@@ -347,7 +347,7 @@ am7930swintr(void *v)
{
struct audioamd_softc *sc = v;
struct auio *au;
- int s, dor, dow;
+ int dor, dow;
DPRINTFN(1, ("audiointr: sc=%p\n", sc););
diff --git a/sys/arch/vax/vsa/vsaudio.c b/sys/arch/vax/vsa/vsaudio.c
index 8bf31770194..b9fd534e145 100644
--- a/sys/arch/vax/vsa/vsaudio.c
+++ b/sys/arch/vax/vsa/vsaudio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vsaudio.c,v 1.3 2013/05/15 08:29:24 ratchov Exp $ */
+/* $OpenBSD: vsaudio.c,v 1.4 2013/05/15 21:21:11 ratchov Exp $ */
/*
* Copyright (c) 2011 Miodrag Vallat.
@@ -383,7 +383,7 @@ void
vsaudio_swintr(void *v)
{
struct vsaudio_softc *sc = v;
- int s, dor, dow;
+ int dor, dow;
DPRINTFN(1, ("audiointr: sc=%p\n", sc));
diff --git a/sys/dev/ic/am7930.c b/sys/dev/ic/am7930.c
index 153c396dcfc..dcb3e7074b4 100644
--- a/sys/dev/ic/am7930.c
+++ b/sys/dev/ic/am7930.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: am7930.c,v 1.4 2013/05/15 08:29:24 ratchov Exp $ */
+/* $OpenBSD: am7930.c,v 1.5 2013/05/15 21:22:28 ratchov Exp $ */
/* $NetBSD: am7930.c,v 1.44 2001/11/13 13:14:34 lukem Exp $ */
/*
@@ -339,7 +339,7 @@ am7930_commit_settings(void *addr)
struct am7930_softc *sc = addr;
uint16_t ger, gr, gx, stgr;
uint8_t mmr2, mmr3;
- int s, level;
+ int level;
DPRINTF(("sa_commit.\n"));
gx = gx_coeff[sc->sc_rlevel];