[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250407102323.2690911-4-robelin@nvidia.com>
Date: Mon, 7 Apr 2025 18:23:23 +0800
From: Robert Lin <robelin@...dia.com>
To: <thierry.reding@...il.com>, <daniel.lezcano@...aro.org>,
<jonathanh@...dia.com>, <tglx@...utronix.de>, <pohsuns@...dia.com>
CC: <linux-kernel@...r.kernel.org>, <linux-tegra@...r.kernel.org>,
<sumitg@...dia.com>, robelin <robelin@...dia.com>
Subject: [PATCH v3 3/3] clocksource/drivers/timer-tegra186: Remove unused bits
From: robelin <robelin@...dia.com>
The intention to keep the unsed if(0) block is gone now. Remove
them for clean codes.
Signed-off-by: robelin <robelin@...dia.com>
---
drivers/clocksource/timer-tegra186.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/drivers/clocksource/timer-tegra186.c b/drivers/clocksource/timer-tegra186.c
index 3967d023781b..2c1a30291226 100644
--- a/drivers/clocksource/timer-tegra186.c
+++ b/drivers/clocksource/timer-tegra186.c
@@ -175,15 +175,6 @@ static void tegra186_wdt_enable(struct tegra186_wdt *wdt)
value &= ~WDTCR_PERIOD_MASK;
value |= WDTCR_PERIOD(1);
- /* enable local FIQ and remote interrupt for debug dump */
- if (0)
- value |= WDTCR_REMOTE_INT_ENABLE |
- WDTCR_LOCAL_FIQ_ENABLE;
-
- /* enable system debug reset (doesn't properly reboot) */
- if (0)
- value |= WDTCR_SYSTEM_DEBUG_RESET_ENABLE;
-
/* enable system POR reset */
value |= WDTCR_SYSTEM_POR_RESET_ENABLE;
--
2.34.1
Powered by blists - more mailing lists