Skip to content

Commit 39b27dd

Browse files
robelindlezcano
authored andcommitted
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 <[email protected]> Acked-by: Thierry Reding <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
1 parent b42d781 commit 39b27dd

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

drivers/clocksource/timer-tegra186.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -174,15 +174,6 @@ static void tegra186_wdt_enable(struct tegra186_wdt *wdt)
174174
value &= ~WDTCR_PERIOD_MASK;
175175
value |= WDTCR_PERIOD(1);
176176

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-
186177
/* enable system POR reset */
187178
value |= WDTCR_SYSTEM_POR_RESET_ENABLE;
188179

0 commit comments

Comments
 (0)