mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "tip-bot2 for robelin" <tip-bot2@linutronix.de>
To: linux-tip-commits@vger.kernel.org
Cc: robelin <robelin@nvidia.com>, Thierry Reding <treding@nvidia.com>,
	Daniel Lezcano <daniel.lezcano@linaro.org>,
	x86@kernel.org, linux-kernel@vger.kernel.org
Subject: [tip: timers/clocksource] clocksource/drivers/timer-tegra186: Remove unused bits
Date: Wed, 21 May 2025 15:49:41 -0000	[thread overview]
Message-ID: <174784258107.406.2455116961690341481.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20250507044311.3751033-4-robelin@nvidia.com>

The following commit has been merged into the timers/clocksource branch of tip:

Commit-ID:     39b27ddf4d680fc908b2fc788039406e2e1c4601
Gitweb:        https://git.kernel.org/tip/39b27ddf4d680fc908b2fc788039406e2e1c4601
Author:        robelin <robelin@nvidia.com>
AuthorDate:    Wed, 07 May 2025 12:43:11 +08:00
Committer:     Daniel Lezcano <daniel.lezcano@linaro.org>
CommitterDate: Fri, 16 May 2025 11:10:33 +02:00

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>
---
 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 fb8a51a..e5394f9 100644
--- a/drivers/clocksource/timer-tegra186.c
+++ b/drivers/clocksource/timer-tegra186.c
@@ -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;
 

  reply	other threads:[~2025-05-21 15:49 UTC|newest]

Thread overview: 11+ 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-05-21 15:49   ` [tip: timers/clocksource] clocksource/drivers/timer-tegra186: Add " tip-bot2 for Pohsun Su
2025-06-13 13:24   ` [PATCH v8 1/3] clocksource/drivers/timer-tegra186: add " 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-21 15:49   ` [tip: timers/clocksource] clocksource/drivers/timer-tegra186: Fix " tip-bot2 for Pohsun Su
2025-05-07  4:43 ` [PATCH v8 3/3] clocksource/drivers/timer-tegra186: Remove unused bits Robert Lin
2025-05-21 15:49   ` tip-bot2 for robelin [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=174784258107.406.2455116961690341481.tip-bot2@tip-bot2 \
    --to=tip-bot2@linutronix.de \
    --cc=daniel.lezcano@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tip-commits@vger.kernel.org \
    --cc=robelin@nvidia.com \
    --cc=treding@nvidia.com \
    --cc=x86@kernel.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

all inboxes | Powered by JetHome®