[Skiboot] [PATCH 22/25] hw/fake-nvram: Remove init of static variable to null
Joel Stanley
joel at jms.id.au
Tue Sep 5 15:51:59 AEST 2017
Signed-off-by: Joel Stanley <joel at jms.id.au>
---
hw/fake-nvram.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/fake-nvram.c b/hw/fake-nvram.c
index 2adf8ada5c4e..236ad5b919a9 100644
--- a/hw/fake-nvram.c
+++ b/hw/fake-nvram.c
@@ -19,7 +19,7 @@
#include <mem_region.h>
#include <lock.h>
-static struct mem_region *nvram_region = NULL;
+static struct mem_region *nvram_region;
static struct lock fake_nvram_lock = LOCK_UNLOCKED;
int fake_nvram_info(uint32_t *total_size)
--
2.14.1
More information about the Skiboot
mailing list