]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Drivers: hv: vmbus: Remove the unused "tsc_page" from struct hv_context
authorDexuan Cui <decui@microsoft.com>
Tue, 20 Aug 2019 03:06:40 +0000 (03:06 +0000)
committerSasha Levin <sashal@kernel.org>
Tue, 20 Aug 2019 15:25:57 +0000 (11:25 -0400)
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")
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hv/hyperv_vmbus.h

index 362e70e9d145410f71dd14c1561a761195ac971c..fb16a622e8ab8dd9623e734baf5ef6b6f23d18ff 100644 (file)
@@ -146,8 +146,6 @@ struct hv_context {
         */
        u64 guestid;
 
-       void *tsc_page;
-
        struct hv_per_cpu_context __percpu *cpu_context;
 
        /*