summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-18 04:06:23 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-18 04:06:23 +0000
commit6b41b901ce61661abb736fb97349f38b1051a4f4 (patch)
tree62117970c39b1189b18befadf4ff6c766d4d152e
parent6be315cf040facf4c6267e4fdbf116a6319f18ef (diff)
nvmutil: remove redundant srand call
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--util/nvmutil/nvmutil.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index df5e2d51..615002e2 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -252,8 +252,6 @@ main(int argc, char *argv[])
err(errno, "pledge (kill unveil)");
#endif
- srand((unsigned int)(time(NULL) ^ getpid()));
-
open_gbe_file();
memset(f->buf, 0, GBE_BUF_SIZE);