Skip to content

Commit

Permalink
hw/fake-nvram: Remove init of static variable to null
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
shenki authored and stewartsmith committed Sep 5, 2017
1 parent 3aa8884 commit e7357a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/fake-nvram.c
Expand Up @@ -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)
Expand Down

0 comments on commit e7357a1

Please sign in to comment.