mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
remove nonsense code.
PR: 7482 Reviewed by: phk Submitted by: Stefan Eggers <seggers@semyam.dinoco.de>
This commit is contained in:
parent
7c949108fb
commit
205d5ed6ff
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38068
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user