summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-05-18 08:25:04 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-05-18 08:25:04 +0000
commit397e94ac860e96d77cd2366534f30b7fa973335e (patch)
tree80908431f05c40bff50b1d8d13486fafd571e577 /sys
parentb1469d95e7676a369b239ae31c1a4cc32da1ca16 (diff)
Remove a duplicate variable initialization in vunmapbuf(), and remove
unncessary lint /*ARGSUSED*/ hint. art@ ok
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/sparc/vm_machdep.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/sparc/sparc/vm_machdep.c b/sys/arch/sparc/sparc/vm_machdep.c
index 10acb8d53b7..bb529b07999 100644
--- a/sys/arch/sparc/sparc/vm_machdep.c
+++ b/sys/arch/sparc/sparc/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.24 2001/05/10 10:34:50 art Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.25 2001/05/18 08:25:03 miod Exp $ */
/* $NetBSD: vm_machdep.c,v 1.30 1997/03/10 23:55:40 pk Exp $ */
/*
@@ -291,7 +291,6 @@ dvma_mapout(kva, va, len)
/*
* Map an IO request into kernel virtual address space.
*/
-/*ARGSUSED*/
void
vmapbuf(bp, sz)
struct buf *bp;
@@ -358,13 +357,12 @@ vmapbuf(bp, sz)
/*
* Free the io map addresses associated with this IO operation.
*/
-/*ARGSUSED*/
void
vunmapbuf(bp, sz)
register struct buf *bp;
vsize_t sz;
{
- register vaddr_t kva = (vaddr_t)bp->b_data;
+ register vaddr_t kva;
register vsize_t size, off;
if ((bp->b_flags & B_PHYS) == 0)