[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-934ad473552a48d303a54279518aa19cf674567d@git.kernel.org>
Date: Wed, 1 Feb 2017 02:07:21 -0800
From: tip-bot for Frederic Weisbecker <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: mpe@...erman.id.au, fweisbec@...il.com, heiko.carstens@...ibm.com,
peterz@...radead.org, paulus@...ba.org, benh@...nel.crashing.org,
wanpeng.li@...mail.com, torvalds@...ux-foundation.org,
hpa@...or.com, fenghua.yu@...el.com, tglx@...utronix.de,
mingo@...nel.org, schwidefsky@...ibm.com, sgruszka@...hat.com,
riel@...hat.com, tony.luck@...el.com, linux-kernel@...r.kernel.org
Subject: [tip:sched/core] sched/cputime: Remove unused nsec_to_cputime()
Commit-ID: 934ad473552a48d303a54279518aa19cf674567d
Gitweb: http://git.kernel.org/tip/934ad473552a48d303a54279518aa19cf674567d
Author: Frederic Weisbecker <fweisbec@...il.com>
AuthorDate: Tue, 31 Jan 2017 04:09:50 +0100
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Wed, 1 Feb 2017 09:14:06 +0100
sched/cputime: Remove unused nsec_to_cputime()
It's unused now.
Signed-off-by: Frederic Weisbecker <fweisbec@...il.com>
Cc: Benjamin Herrenschmidt <benh@...nel.crashing.org>
Cc: Fenghua Yu <fenghua.yu@...el.com>
Cc: Heiko Carstens <heiko.carstens@...ibm.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Martin Schwidefsky <schwidefsky@...ibm.com>
Cc: Michael Ellerman <mpe@...erman.id.au>
Cc: Paul Mackerras <paulus@...ba.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Rik van Riel <riel@...hat.com>
Cc: Stanislaw Gruszka <sgruszka@...hat.com>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Tony Luck <tony.luck@...el.com>
Cc: Wanpeng Li <wanpeng.li@...mail.com>
Link: http://lkml.kernel.org/r/1485832191-26889-35-git-send-email-fweisbec@gmail.com
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
include/linux/cputime.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/include/linux/cputime.h b/include/linux/cputime.h
index f2eb2ee..a257d66 100644
--- a/include/linux/cputime.h
+++ b/include/linux/cputime.h
@@ -8,9 +8,4 @@
(cputime_to_usecs(__ct) * NSEC_PER_USEC)
#endif
-#ifndef nsecs_to_cputime
-# define nsecs_to_cputime(__nsecs) \
- usecs_to_cputime((__nsecs) / NSEC_PER_USEC)
-#endif
-
#endif /* __LINUX_CPUTIME_H */
Powered by blists - more mailing lists