Skip to contentSkip to conversation

x86/paravirt: remove unused operation

PATCH RESEND New Juergen Gross 2 participants 2 messages Sep 14, 2015

Subsystems (3)
lore
Share & tools
lore

Juergen Gross

author maintainer
#0 lore raw

PATCH RESEND 1/1 x86/paravirt: remove unused operation

Remove the paravirt operation "get_tsc_khz" as it is used nowhere.

---
 arch/x86/include/asm/paravirt_types.h | 1 -
 1 file changed, 1 deletion(-)
arch/x86/include/asm/paravirt_types.h +0 -1
index ce029e4..31247b5 100644
@@ -97,7 +97,6 @@ struct pv_lazy_ops {
 struct pv_time_ops {
 	unsigned long long (*sched_clock)(void);
 	unsigned long long (*steal_clock)(int cpu);
-	unsigned long (*get_tsc_khz)(void);
 };
 
 struct pv_cpu_ops {
Signature · 1 line
2.1.4
#1 lore raw

[tip:x86/urgent] x86/paravirt: Remove the unused pv_time_ops:: get_tsc_khz method

x86/paravirt: Remove the unused pv_time_ops::get_tsc_khz method
Commit-ID:  cda34fc774d114afe98515a21c2063a803f922bc
Gitweb:     http://git.kernel.org/tip/cda34fc774d114afe98515a21c2063a803f922bc
Author:     Juergen Gross <[email protected]>
AuthorDate: Mon, 14 Sep 2015 12:42:23 +0200
Committer:  Ingo Molnar <[email protected]>
CommitDate: Mon, 14 Sep 2015 14:15:22 +0200

x86/paravirt: Remove the unused pv_time_ops::get_tsc_khz method

It's not used anywhere.

---
 arch/x86/include/asm/paravirt_types.h | 1 -
 1 file changed, 1 deletion(-)
arch/x86/include/asm/paravirt_types.h +0 -1
index ce029e4..31247b5 100644
@@ -97,7 +97,6 @@ struct pv_lazy_ops {
 struct pv_time_ops {
 	unsigned long long (*sched_clock)(void);
 	unsigned long long (*steal_clock)(int cpu);
-	unsigned long (*get_tsc_khz)(void);
 };
 
 struct pv_cpu_ops {