diff mbox series

[for-4.1,5/7] linux-user: Remove srand call

Message ID 20190313062630.30568-6-richard.henderson@linaro.org
State Superseded
Headers show
Series Add qemu_getrandom and ARMv8.5-RNG | expand

Commit Message

Richard Henderson March 13, 2019, 6:26 a.m. UTC
We no longer use rand() within linux-user.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

---
 linux-user/main.c | 2 --
 1 file changed, 2 deletions(-)

-- 
2.17.1
diff mbox series

Patch

diff --git a/linux-user/main.c b/linux-user/main.c
index 37300230f5..7a40a14c6a 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -619,8 +619,6 @@  int main(int argc, char **argv, char **envp)
 
     cpu_model = NULL;
 
-    srand(time(NULL));
-
     qemu_add_opts(&qemu_trace_opts);
 
     optind = parse_args(argc, argv);