diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2017-01-19 19:51:53 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-20 14:51:21 +0100 |
commit | d383877db60bcc7fd02d1051a90e078d731dfb59 (patch) | |
tree | 60859ee1699f05fbafa21164f8516cfc95f967d5 /drivers/hv/hv.c | |
parent | Drivers: hv: util: Use hv_get_current_tick() to get current tick (diff) | |
download | linux-d383877db60bcc7fd02d1051a90e078d731dfb59.tar.xz linux-d383877db60bcc7fd02d1051a90e078d731dfb59.zip |
Drivers: hv: vmbus: Get rid of an unsused variable
The version variable while it is initialized is not used;
get rid of it.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/hv.c')
-rw-r--r-- | drivers/hv/hv.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/hv/hv.c b/drivers/hv/hv.c index ae5436e9c8a4..ced2077bb925 100644 --- a/drivers/hv/hv.c +++ b/drivers/hv/hv.c @@ -261,16 +261,12 @@ void hv_synic_free(void) */ int hv_synic_init(unsigned int cpu) { - u64 version; union hv_synic_simp simp; union hv_synic_siefp siefp; union hv_synic_sint shared_sint; union hv_synic_scontrol sctrl; u64 vp_index; - /* Check the version */ - rdmsrl(HV_X64_MSR_SVERSION, version); - /* Setup the Synic's message page */ rdmsrl(HV_X64_MSR_SIMP, simp.as_uint64); simp.simp_enabled = 1; |