diff options
author | Joel Stanley <joel@jms.id.au> | 2017-09-05 15:51:59 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-09-05 17:56:36 +1000 |
commit | e7357a1b7f021102ce2bb7eab7ddf1f607947c45 (patch) | |
tree | 3858b4c1d3d46a8fc263a6c3fc4e8338417637e7 /hw/fake-nvram.c | |
parent | 3aa8884bfcb03a0cb01edf552a68ec633bb68217 (diff) | |
download | skiboot-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.c | 2 |
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) |