diff mbox series

[22/25] hw/fake-nvram: Remove init of static variable to null

Message ID 20170905055202.8216-23-joel@jms.id.au
State Accepted
Headers show
Series Checkpatch fixes | expand

Commit Message

Joel Stanley Sept. 5, 2017, 5:51 a.m. UTC
Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 hw/fake-nvram.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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)