qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH for-4.1 5/7] linux-user: Remove srand call


From: Richard Henderson
Subject: [Qemu-devel] [PATCH for-4.1 5/7] linux-user: Remove srand call
Date: Tue, 12 Mar 2019 23:26:28 -0700

We no longer use rand() within linux-user.

Signed-off-by: Richard Henderson <address@hidden>
---
 linux-user/main.c | 2 --
 1 file changed, 2 deletions(-)

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);
-- 
2.17.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]