summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2004-09-14 23:45:12 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2004-09-14 23:45:12 +0000
commit19856cfaf3041e206445509d103c24ddb2782254 (patch)
tree018ab960987125147e879f3c138fe26a108c4a3a
parentf575ae36c858b0f923c8e6d51627795ab626ef4d (diff)
remove unused variable; netbsd, ok theo
-rw-r--r--sys/dev/pci/auvia.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/pci/auvia.c b/sys/dev/pci/auvia.c
index c24c0a7f1dc..eaa8816d85c 100644
--- a/sys/dev/pci/auvia.c
+++ b/sys/dev/pci/auvia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auvia.c,v 1.27 2004/01/09 21:32:24 brad Exp $ */
+/* $OpenBSD: auvia.c,v 1.28 2004/09/14 23:45:11 pvalchev Exp $ */
/* $NetBSD: auvia.c,v 1.7 2000/11/15 21:06:33 jdolecek Exp $ */
/*-
@@ -819,13 +819,12 @@ auvia_build_dma_ops(struct auvia_softc *sc, struct auvia_softc_chan *ch,
{
struct auvia_dma_op *op;
struct auvia_dma *dp;
- bus_addr_t s, e;
+ bus_addr_t s;
size_t l;
int segs;
s = p->map->dm_segs[0].ds_addr;
l = ((char *)end - (char *)start);
- e = s + l;
segs = (l + blksize - 1) / blksize;
if (segs > (ch->sc_dma_op_count)) {