summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--exec.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/exec.c b/exec.c
index 8af2570579..7431f2f449 100644
--- a/exec.c
+++ b/exec.c
@@ -1282,10 +1282,6 @@ static void *file_ram_alloc(RAMBlock *block,
     return area;
 
 error:
-    if (mem_prealloc) {
-        error_report("%s", error_get_pretty(*errp));
-        exit(1);
-    }
     return NULL;
 }
 #endif