From: Robert Lin <robelin@nvidia.com>
To: <thierry.reding@gmail.com>, <daniel.lezcano@linaro.org>,
<jonathanh@nvidia.com>, <tglx@linutronix.de>,
<pohsuns@nvidia.com>
Cc: <linux-kernel@vger.kernel.org>, <linux-tegra@vger.kernel.org>,
<sumitg@nvidia.com>, <linux-watchdog@vger.kernel.org>,
<wim@linux-watchdog.org>, <linux@roeck-us.net>,
robelin <robelin@nvidia.com>
Subject: [PATCH v8 3/3] clocksource/drivers/timer-tegra186: Remove unused bits
Date: Wed, 7 May 2025 12:43:11 +0800 [thread overview]
Message-ID: <20250507044311.3751033-4-robelin@nvidia.com> (raw)
In-Reply-To: <20250507044311.3751033-1-robelin@nvidia.com>
From: robelin <robelin@nvidia.com>
The intention to keep the unsed if(0) block is gone now. Remove
them for clean codes.
Signed-off-by: robelin <robelin@nvidia.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 20685d122b47..940168458122 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
next prev parent reply other threads:[~2025-05-07 4:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-07 4:43 [PATCH v8 0/3] clocksource: fix Tegra234 SoC Watchdog Timer Robert Lin
2025-05-07 4:43 ` [PATCH v8 1/3] clocksource/drivers/timer-tegra186: add WDIOC_GETTIMELEFT support Robert Lin
2025-06-13 13:24 ` Guenter Roeck
2025-06-19 10:03 ` Thierry Reding
2025-06-19 12:55 ` Guenter Roeck
2025-05-07 4:43 ` [PATCH v8 2/3] clocksource/drivers/timer-tegra186: fix watchdog self-pinging Robert Lin
2025-05-07 4:43 ` Robert Lin [this message]
2025-05-07 7:38 ` [PATCH v8 0/3] clocksource: fix Tegra234 SoC Watchdog Timer Daniel Lezcano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250507044311.3751033-4-robelin@nvidia.com \
--to=robelin@nvidia.com \
--cc=daniel.lezcano@linaro.org \
--cc=jonathanh@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=pohsuns@nvidia.com \
--cc=sumitg@nvidia.com \
--cc=tglx@linutronix.de \
--cc=thierry.reding@gmail.com \
--cc=wim@linux-watchdog.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox