summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)) {