summaryrefslogtreecommitdiff
path: root/util/nvmutil/lib
diff options
context:
space:
mode:
Diffstat (limited to 'util/nvmutil/lib')
-rw-r--r--util/nvmutil/lib/num.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/util/nvmutil/lib/num.c b/util/nvmutil/lib/num.c
index 91b85e5b..3ef2ad6f 100644
--- a/util/nvmutil/lib/num.c
+++ b/util/nvmutil/lib/num.c
@@ -131,17 +131,6 @@ retry_urandom_read:
O_RDONLY | O_BINARY | O_NOFOLLOW |
O_CLOEXEC);
-#ifdef __OpenBSD__
-/* TODO: dead code
- openbsd 2.1 had arc4random.
- arandam was introduced **later**
- */
- if (fd < 0) /* old openbsd */
- fd = open("/dev/arandom",
- O_RDONLY | O_BINARY | O_NOFOLLOW |
- O_CLOEXEC);
-#endif
-
#ifdef PORTABLE_RAND_DEV
#if (PORTABLE_RAND_DEV) > 0
/* WARNING: