summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/board/power.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sandbox/board/power.c')
-rw-r--r--arch/sandbox/board/power.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sandbox/board/power.c b/arch/sandbox/board/power.c
index 57801c8c3d..3112c80348 100644
--- a/arch/sandbox/board/power.c
+++ b/arch/sandbox/board/power.c
@@ -64,8 +64,6 @@ static int sandbox_power_probe(struct device_d *dev)
rst = nvmem_cell_read(power->reset_source_cell, &len);
if (!IS_ERR(rst)) {
- if (*rst == 0)
- *rst = RESET_POR;
reset_source_set_prinst(*rst, RESET_SOURCE_DEFAULT_PRIORITY, 0);
free(rst);