summaryrefslogtreecommitdiff
path: root/sys/kern/kern_subr.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1998-08-04 09:21:04 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1998-08-04 09:21:04 +0000
commit205d5ed6ffd5e34ac1ab66b4ddbc073ad21b542b (patch)
tree543f9b487136b7489b35edd445a419c10cc5f44c /sys/kern/kern_subr.c
parent7c949108fbc15f0d8a7e4cf77f43ec161fa80ab2 (diff)
Notes
Diffstat (limited to 'sys/kern/kern_subr.c')
-rw-r--r--sys/kern/kern_subr.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/kern/kern_subr.c b/sys/kern/kern_subr.c
index 3ab216ada7ac..548cd20e1c8b 100644
--- a/sys/kern/kern_subr.c
+++ b/sys/kern/kern_subr.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_subr.c 8.3 (Berkeley) 1/21/94
- * $Id: kern_subr.c,v 1.20 1998/06/07 17:11:36 dfr Exp $
+ * $Id: kern_subr.c,v 1.21 1998/07/15 02:32:10 bde Exp $
*/
#include <sys/param.h>
@@ -224,9 +224,7 @@ uioread(n, uio, obj, nread)
break;
tcnt = npagesmoved * PAGE_SIZE;
- if (tcnt != cnt) {
- cnt = tcnt;
- }
+ cnt = tcnt;
if (error)
break;