mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Thomas Weißschuh" <thomas.weissschuh@linutronix.de>
To: Anna-Maria Behnsen <anna-maria@linutronix.de>,
	 Frederic Weisbecker <frederic@kernel.org>,
	 Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org,
	"Thomas Weißschuh" <thomas.weissschuh@linutronix.de>
Subject: [PATCH 1/3] hrtimer: Remove unused resolution constants
Date: Wed, 07 Jan 2026 11:36:56 +0100	[thread overview]
Message-ID: <20260107-hrtimer-header-cleanup-v1-1-1a698ef0ddae@linutronix.de> (raw)
In-Reply-To: <20260107-hrtimer-header-cleanup-v1-0-1a698ef0ddae@linutronix.de>

These constants are never used, remove them.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
 include/linux/hrtimer_defs.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/include/linux/hrtimer_defs.h b/include/linux/hrtimer_defs.h
index aa49ffa130e5..e0280d851455 100644
--- a/include/linux/hrtimer_defs.h
+++ b/include/linux/hrtimer_defs.h
@@ -15,14 +15,6 @@
  * this resolution values.
  */
 # define HIGH_RES_NSEC		1
-# define KTIME_HIGH_RES		(HIGH_RES_NSEC)
-# define MONOTONIC_RES_NSEC	HIGH_RES_NSEC
-# define KTIME_MONOTONIC_RES	KTIME_HIGH_RES
-
-#else
-
-# define MONOTONIC_RES_NSEC	LOW_RES_NSEC
-# define KTIME_MONOTONIC_RES	KTIME_LOW_RES
 
 #endif
 

-- 
2.52.0


  reply	other threads:[~2026-01-07 10:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-07 10:36 [PATCH 0/3] hrtimer: Some header cleanups Thomas Weißschuh
2026-01-07 10:36 ` Thomas Weißschuh [this message]
2026-01-13 10:06   ` [tip: timers/core] hrtimer: Remove unused resolution constants tip-bot2 for Thomas Weißschuh
2026-01-07 10:36 ` [PATCH 2/3] hrtimer: Remove public definition of HIGH_RES_NSEC Thomas Weißschuh
2026-01-13 10:06   ` [tip: timers/core] " tip-bot2 for Thomas Weißschuh
2026-01-07 10:36 ` [PATCH 3/3] hrtimer: Drop _tv64() helpers Thomas Weißschuh
2026-01-13 10:06   ` [tip: timers/core] " tip-bot2 for Thomas Weißschuh

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=20260107-hrtimer-header-cleanup-v1-1-1a698ef0ddae@linutronix.de \
    --to=thomas.weissschuh@linutronix.de \
    --cc=anna-maria@linutronix.de \
    --cc=frederic@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /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®