diff options
author | Dexuan Cui <decui@microsoft.com> | 2018-03-27 15:01:01 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-28 13:24:56 +0200 |
commit | f68b1a12591edd791603b1670717fc31bda0c863 (patch) | |
tree | f839551ed8c3574257069f198c198428e8038216 /drivers/hv/hv.c | |
parent | b5b38200ebe54879a7264cb6f33821f61c586a7e (diff) | |
download | linux-f68b1a12591edd791603b1670717fc31bda0c863.tar.bz2 |
Drivers: hv: vmbus: respect what we get from hv_get_synint_state()
I didn't really hit a bug, but just happened to notice the redundant line.
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Cc: Stephen Hemminger <sthemmin@microsoft.com>
Cc: K. Y. Srinivasan <kys@microsoft.com>
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 | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hv/hv.c b/drivers/hv/hv.c index b1f6793acf4c..8137b3885b99 100644 --- a/drivers/hv/hv.c +++ b/drivers/hv/hv.c @@ -302,7 +302,6 @@ int hv_synic_init(unsigned int cpu) hv_get_synint_state(HV_X64_MSR_SINT0 + VMBUS_MESSAGE_SINT, shared_sint.as_uint64); - shared_sint.as_uint64 = 0; shared_sint.vector = HYPERVISOR_CALLBACK_VECTOR; shared_sint.masked = false; if (ms_hyperv.hints & HV_X64_DEPRECATING_AEOI_RECOMMENDED) |