From bf4816c9c6a23ee5489ff4f0b04f21b002b3028e Mon Sep 17 00:00:00 2001 From: Frans Kaashoek Date: Wed, 1 Sep 2021 07:24:07 -0400 Subject: [PATCH] Delete unused code (Jude Rich ) --- user/usertests.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/user/usertests.c b/user/usertests.c index 567b691..0fe7371 100644 --- a/user/usertests.c +++ b/user/usertests.c @@ -2482,14 +2482,6 @@ void argptest(char *s) close(fd); } -unsigned long randstate = 1; -unsigned int -rand() -{ - randstate = randstate * 1664525 + 1013904223; - return randstate; -} - // check that there's an invalid page beneath // the user stack, to catch stack overflow. void