From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-hk2apc01on0105.outbound.protection.outlook.com ([104.47.124.105]:13760 "EHLO APC01-HK2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932890AbeCCAW0 (ORCPT ); Fri, 2 Mar 2018 19:22:26 -0500 From: Dexuan Cui To: "gregkh@linuxfoundation.org" , KY Srinivasan , Stephen Hemminger CC: "linux-kernel@vger.kernel.org" , "driverdev-devel@linuxdriverproject.org" , Haiyang Zhang , "olaf@aepfle.de" , "apw@canonical.com" , "jasowang@redhat.com" , "vkuznets@redhat.com" , "marcelo.cerri@canonical.com" , Dexuan Cui , "stable@vger.kernel.org" Subject: [PATCH] Drivers: hv: vmbus: respect what we get from hv_get_synint_state() Date: Sat, 3 Mar 2018 00:22:18 +0000 Message-ID: <20180303002155.20689-1-decui@microsoft.com> Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org List-ID: 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 Cc: stable@vger.kernel.org --- drivers/hv/hv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/hv/hv.c b/drivers/hv/hv.c index fe96aab9e794..2bdb2bba911e 100644 --- a/drivers/hv/hv.c +++ b/drivers/hv/hv.c @@ -252,7 +252,6 @@ int hv_synic_init(unsigned int cpu) hv_get_synint_state(HV_X64_MSR_SINT0 + VMBUS_MESSAGE_SINT, shared_sint.as_uint64); =20 - shared_sint.as_uint64 =3D 0; shared_sint.vector =3D HYPERVISOR_CALLBACK_VECTOR; shared_sint.masked =3D false; if (ms_hyperv.hints & HV_X64_DEPRECATING_AEOI_RECOMMENDED) --=20 2.7.4