artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f619b14
)
Remove unnecessary, unreached, confusing code.
author
art
<art@openbsd.org>
Sat, 4 Mar 2000 16:42:15 +0000
(16:42 +0000)
committer
art
<art@openbsd.org>
Sat, 4 Mar 2000 16:42:15 +0000
(16:42 +0000)
sys/arch/sparc/sparc/mem.c
patch
|
blob
|
history
diff --git
a/sys/arch/sparc/sparc/mem.c
b/sys/arch/sparc/sparc/mem.c
index
9976190
..
79881f5
100644
(file)
--- a/
sys/arch/sparc/sparc/mem.c
+++ b/
sys/arch/sparc/sparc/mem.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: mem.c,v 1.1
1 1999/11/22 19:22:02 matthieu Exp $
*/
+/* $OpenBSD: mem.c,v 1.1
2 2000/03/04 16:42:15 art Exp $
*/
/* $NetBSD: mem.c,v 1.13 1996/03/30 21:12:16 christos Exp $ */
/*
@@
-219,12
+219,6
@@
mmrw(dev, uio, flags)
default:
return (ENXIO);
}
- if (error)
- break;
- iov->iov_base += c;
- iov->iov_len -= c;
- uio->uio_offset += c;
- uio->uio_resid -= c;
}
if (minor(dev) == 0) {
unlock: