aboutsummaryrefslogtreecommitdiff
path: root/hw/fake-nvram.c
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2017-09-05 15:51:59 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-09-05 17:56:36 +1000
commite7357a1b7f021102ce2bb7eab7ddf1f607947c45 (patch)
tree3858b4c1d3d46a8fc263a6c3fc4e8338417637e7 /hw/fake-nvram.c
parent3aa8884bfcb03a0cb01edf552a68ec633bb68217 (diff)
downloadskiboot-e7357a1b7f021102ce2bb7eab7ddf1f607947c45.zip
skiboot-e7357a1b7f021102ce2bb7eab7ddf1f607947c45.tar.gz
skiboot-e7357a1b7f021102ce2bb7eab7ddf1f607947c45.tar.bz2
hw/fake-nvram: Remove init of static variable to null
Signed-off-by: Joel Stanley <joel@jms.id.au> Reviewed-by: Michael Neuling <mikey@neuling.org> Reviewed-by: Russell Currey <ruscur@russell.cc> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/fake-nvram.c')
-rw-r--r--hw/fake-nvram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/fake-nvram.c b/hw/fake-nvram.c
index 2adf8ad..236ad5b 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)