We no longer use rand() within linux-user. Cc: Laurent Vivier <laur...@vivier.eu> Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> --- linux-user/main.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/linux-user/main.c b/linux-user/main.c index e05aebe4e1..5d1c6a115b 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -623,8 +623,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