]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
clocksource/drivers/timer-tegra186: Remove unused bits
authorrobelin <robelin@nvidia.com>
Wed, 7 May 2025 04:43:11 +0000 (12:43 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 16 May 2025 09:10:33 +0000 (11:10 +0200)
The intention to keep the unsed if(0) block is gone now. Remove
them for clean codes.

Signed-off-by: robelin <robelin@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20250507044311.3751033-4-robelin@nvidia.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/timer-tegra186.c

index fb8a51a5bb24d3ef08ee77a705c153b4c61e8d12..e5394f98a02e66c1fa1a6d09d064f367d067d4f3 100644 (file)
@@ -174,15 +174,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;