mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
util/nvmutil: remove dead code
useless check. will never be true. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -1136,9 +1136,6 @@ rhex(void)
|
||||
if (use_prng)
|
||||
return fallback_rand();
|
||||
|
||||
if (urandom_fd < 0)
|
||||
err(ECANCELED, "Your operating system has no /dev/[u]random");
|
||||
|
||||
if (!n) {
|
||||
n = sizeof(rnum);
|
||||
if (rw_file_exact(urandom_fd, rnum, n, 0, LESEN) == -1)
|
||||
|
||||
Reference in New Issue
Block a user