projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb9e35d
)
x86: clean up vget_cycles()
author
Ingo Molnar
<mingo@elte.hu>
Sun, 9 Nov 2008 07:10:03 +0000
(08:10 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Sun, 9 Nov 2008 20:05:43 +0000
(21:05 +0100)
Impact: remove unused variable
I forgot to remove the now unused "cycles_t cycles" parameter from
vget_cycles() - which triggers build warnings as tsc.h is included
in a number of files.
Remove it.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/tsc.h
patch
|
blob
|
history
diff --git
a/arch/x86/include/asm/tsc.h
b/arch/x86/include/asm/tsc.h
index 700aeb8d2098f2748ae6a3c3a9edf2829a00522c..38ae163cc91b00bf029d5ed5e29cd8ba96bd461b 100644
(file)
--- a/
arch/x86/include/asm/tsc.h
+++ b/
arch/x86/include/asm/tsc.h
@@
-34,8
+34,6
@@
static inline cycles_t get_cycles(void)
static __always_inline cycles_t vget_cycles(void)
{
- cycles_t cycles;
-
/*
* We only do VDSOs on TSC capable CPUs, so this shouldnt
* access boot_cpu_data (which is not VDSO-safe):