summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog')
-rw-r--r--drivers/watchdog/stm32_iwdg.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/watchdog/stm32_iwdg.c b/drivers/watchdog/stm32_iwdg.c
index 34912ae00e..7c2dc077af 100644
--- a/drivers/watchdog/stm32_iwdg.c
+++ b/drivers/watchdog/stm32_iwdg.c
@@ -170,11 +170,6 @@ static int stm32_set_reset_reason(struct regmap *rcc)
int ret;
int i, instance = 0;
- /*
- * SRSR register captures ALL reset event that occured since
- * POR, so we need to clear it to make sure we only caputre
- * the latest one.
- */
ret = regmap_read(rcc, RCC_MP_RSTSCLRR, &reg);
if (ret)
return ret;