From a1ae1d3f2c23e4e2549a6cf5df12cf39c07a055e Mon Sep 17 00:00:00 2001 From: art Date: Sat, 4 Mar 2000 16:42:15 +0000 Subject: [PATCH] Remove unnecessary, unreached, confusing code. --- sys/arch/sparc/sparc/mem.c | 8 +------- 1 file changed, 1 insertion(+), 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: -- 2.20.1