summaryrefslogtreecommitdiffstats
path: root/include/linux/jiffies.h
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2012-09-05 00:44:53 -0400
committerJohn Stultz <john.stultz@linaro.org>2012-09-24 12:38:04 -0400
commit7916a1f14f06ac93e4cec81139fe4f7ec13b572c (patch)
tree913213f7a94f225ca30d02ca1ee1659a2e0186d8 /include/linux/jiffies.h
parenta65bcc12ad74b3efe78847945a1e36cfcbcbc4e6 (diff)
downloadlinux-stable-7916a1f14f06ac93e4cec81139fe4f7ec13b572c.tar.gz
linux-stable-7916a1f14f06ac93e4cec81139fe4f7ec13b572c.tar.bz2
linux-stable-7916a1f14f06ac93e4cec81139fe4f7ec13b572c.zip
jiffies: Kill unused TICK_USEC_TO_NSEC
No one is using TICK_USEC_TO_NSEC, so kill it. Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Richard Cochran <richardcochran@gmail.com> Cc: Prarit Bhargava <prarit@redhat.com> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'include/linux/jiffies.h')
-rw-r--r--include/linux/jiffies.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/jiffies.h b/include/linux/jiffies.h
index 82680541576d..4a7e3864e80d 100644
--- a/include/linux/jiffies.h
+++ b/include/linux/jiffies.h
@@ -70,12 +70,6 @@
/* TICK_USEC is the time between ticks in usec assuming fake USER_HZ */
#define TICK_USEC ((1000000UL + USER_HZ/2) / USER_HZ)
-/*
- * TICK_USEC_TO_NSEC is the time between ticks in nsec assuming SHIFTED_HZ and
- * a value TUSEC for TICK_USEC (can be set bij adjtimex)
- */
-#define TICK_USEC_TO_NSEC(TUSEC) (SH_DIV(TUSEC * USER_HZ * 1000, SHIFTED_HZ, 8))
-
/* some arch's have a small-data section that can be accessed register-relative
* but that can only take up to, say, 4-byte variables. jiffies being part of
* an 8-byte variable may not be correctly accessed unless we force the issue