From: Dexuan Cui Date: Tue, 27 Mar 2018 22:01:01 +0000 (-0700) Subject: Drivers: hv: vmbus: respect what we get from hv_get_synint_state() X-Git-Tag: v4.17-rc1~122^2~4 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=f68b1a12591edd791603b1670717fc31bda0c863;p=linux.git 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 Cc: Stephen Hemminger Cc: K. Y. Srinivasan Signed-off-by: K. Y. Srinivasan Signed-off-by: Greg Kroah-Hartman --- 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)