Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clocksource/drivers/timer-tegra186: Remove unused bits

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>

authored by

robelin and committed by
Daniel Lezcano
39b27ddf b42d781e

-9
-9
drivers/clocksource/timer-tegra186.c
··· 174 174 value &= ~WDTCR_PERIOD_MASK; 175 175 value |= WDTCR_PERIOD(1); 176 176 177 - /* enable local FIQ and remote interrupt for debug dump */ 178 - if (0) 179 - value |= WDTCR_REMOTE_INT_ENABLE | 180 - WDTCR_LOCAL_FIQ_ENABLE; 181 - 182 - /* enable system debug reset (doesn't properly reboot) */ 183 - if (0) 184 - value |= WDTCR_SYSTEM_DEBUG_RESET_ENABLE; 185 - 186 177 /* enable system POR reset */ 187 178 value |= WDTCR_SYSTEM_POR_RESET_ENABLE; 188 179