diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2000-03-04 16:42:16 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2000-03-04 16:42:16 +0000 |
commit | 2f009b5764ea38fe7399de442e476dd566e02bed (patch) | |
tree | 6b88d79dfd62e148794a5398842bee13a918b956 /sys/arch | |
parent | 9c5079219193206294e7a114c2ba7e2d29bc8186 (diff) |
Remove unnecessary, unreached, confusing code.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sparc/sparc/mem.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/sparc/sparc/mem.c b/sys/arch/sparc/sparc/mem.c index 9976190d3fc..79881f5166a 100644 --- a/sys/arch/sparc/sparc/mem.c +++ b/sys/arch/sparc/sparc/mem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mem.c,v 1.11 1999/11/22 19:22:02 matthieu Exp $ */ +/* $OpenBSD: mem.c,v 1.12 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: |