summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xdm/genauth.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/xdm/genauth.c b/xdm/genauth.c
index 696d6ce..4f154dd 100644
--- a/xdm/genauth.c
+++ b/xdm/genauth.c
@@ -326,14 +326,6 @@ AddPreGetEntropy (void)
AddTimerEntropy();
if ((readlen = sumFile (randomFile, BSIZ, SEEK_SET, offset)) == BSIZ) {
offset += readlen;
-# ifdef FRAGILE_DEV_MEM
- if (!strcmp (randomFile, "/dev/mem")) {
- if (offset == 0xa0000) /* skip 640kB-1MB ROM mappings */
- offset = 0x100000;
- else if (offset == 0xf00000) /* skip 15-16MB memory hole */
- offset = 0x1000000;
- }
-# endif
return;
} else if (readlen >= 0 && offset) {
if ((offset = sumFile (randomFile, BSIZ, SEEK_SET, 0)) == BSIZ)