summaryrefslogtreecommitdiff
path: root/src/drivers/elog
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/elog')
-rw-r--r--src/drivers/elog/elog.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/drivers/elog/elog.c b/src/drivers/elog/elog.c
index 687e68b2f7..ecee145e31 100644
--- a/src/drivers/elog/elog.c
+++ b/src/drivers/elog/elog.c
@@ -761,10 +761,6 @@ int elog_init(void)
elog_size = region_device_sz(&elog_state.nv_dev);
mirror_buffer = elog_mirror_buf;
- if (!mirror_buffer) {
- printk(BIOS_ERR, "ELOG: Unable to allocate backing store\n");
- return -1;
- }
rdev_chain_mem_rw(&elog_state.mirror_dev, mirror_buffer, elog_size);
/*