projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea3a96d
)
sched/cputime: Remove unused nsec_to_cputime()
author
Frederic Weisbecker
<fweisbec@gmail.com>
Tue, 31 Jan 2017 03:09:50 +0000
(
04:09
+0100)
committer
Ingo Molnar
<mingo@kernel.org>
Wed, 1 Feb 2017 08:14:06 +0000
(09:14 +0100)
It's unused now.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Stanislaw Gruszka <sgruszka@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Wanpeng Li <wanpeng.li@hotmail.com>
Link:
http://lkml.kernel.org/r/1485832191-26889-35-git-send-email-fweisbec@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/cputime.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/cputime.h
b/include/linux/cputime.h
index f2eb2ee535cabeffea2019cfcfdf113a9025f768..a257d66906218c96235c502bec9bf2e8bcff3e60 100644
(file)
--- 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 */