Skip to contentSkip to conversation

Drivers: hv: vmbus: Remove the unused "tsc_page" from struct hv_context

PATCH Applied Dexuan Cui 2 participants 2 messages Aug 20, 2019

Subsystems (2)
lore
Share & tools
lore

Dexuan Cui

author maintainer
#0 lore raw

PATCH 1/1 Drivers: hv: vmbus: Remove the unused "tsc_page" from struct hv_context

This field is no longer used after the commit
63ed4e0c67df ("Drivers: hv: vmbus: Consolidate all Hyper-V specific clocksource code") , because it's replaced by the global variable
"struct ms_hyperv_tsc_page *tsc_pg;" (now, the variable is in drivers/clocksource/hyperv_timer.c).

Fixes 63ed4e0c67df ("Drivers: hv: vmbus: Consolidate all Hyper-V specific clocksource code")
---
 drivers/hv/hyperv_vmbus.h | 2 --
 1 file changed, 2 deletions(-)
drivers/hv/hyperv_vmbus.h +0 -2
index 362e70e..fb16a62 100644
@@ -146,8 +146,6 @@ struct hv_context {
 	 */
 	u64 guestid;
 
-	void *tsc_page;
-
 	struct hv_per_cpu_context __percpu *cpu_context;
 
 	/*
Signature · 1 line
1.8.3.1
Applied
#1 lore raw
Quoted 8 lines · Dexuan Cui

This field is no longer used after the commit
63ed4e0c67df ("Drivers: hv: vmbus: Consolidate all Hyper-V specific clocksource code") , because it's replaced by the global variable
"struct ms_hyperv_tsc_page *tsc_pg;" (now, the variable is in drivers/clocksource/hyperv_timer.c).

Fixes 63ed4e0c67df ("Drivers: hv: vmbus: Consolidate all Hyper-V specific clocksource code")

Queued up for hyperv-fixes, thank you.

--
Thanks,
Sasha