Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754124AbcL3Tlw (ORCPT ); Fri, 30 Dec 2016 14:41:52 -0500 Received: from p3plsmtps2ded01.prod.phx3.secureserver.net ([208.109.80.58]:50608 "EHLO p3plsmtps2ded01.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754144AbcL3Tjd (ORCPT ); Fri, 30 Dec 2016 14:39:33 -0500 x-originating-ip: 72.167.245.219 From: kys@exchange.microsoft.com To: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, devel@linuxdriverproject.org, olaf@aepfle.de, apw@canonical.com, vkuznets@redhat.com, jasowang@redhat.com, leann.ogasawara@canonical.com, rkagan@virtuozzo.com, x86@kernel.org, tglx@linutronix.de, hpa@zytor.com Cc: "K. Y. Srinivasan" Subject: [PATCH 12/18] Drivers: hv: vmbus: Get rid of an unsused variable Date: Fri, 30 Dec 2016 13:36:06 -0800 Message-Id: <1483133772-29776-12-git-send-email-kys@exchange.microsoft.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1483133772-29776-1-git-send-email-kys@exchange.microsoft.com> References: <1483133701-29738-1-git-send-email-kys@exchange.microsoft.com> <1483133772-29776-1-git-send-email-kys@exchange.microsoft.com> Reply-To: kys@microsoft.com X-CMAE-Envelope: MS4wfJyCvOq87Qb2yhlAoLNt1HTnchhKI9aXZX1tvnreTT8i9HztgcjwSEC3FgzgX5YXOD0n5DF/3BqB4LjnNNDNJ2OsCid7H8UWX/gP8NJ2vnZkPyOKkyVq HhXYUVrpiElfzLhKLFEoZUTfN/Q4G/AtnnYvoaVRmsQSOgdIqZAT4LUMw+a7RWOZ8J90xcTqIF3XVJDaUjLe/f3yYvOzu8tQM80PUfiyH9hQSr27aeAIU1/5 z4SwieBzgFqOIw+YmLn61eUoC0wftORl48wPqSDSY9lQ79FHnJIdhqZuhbzlYuVaRNxRDrdu3HhgGzVadySG9yZrV+y6jEmssLOiLha9tjGvEL/xxW8rb40B 3HmH+y1G9O0gxw/YtDapK90dCw3jA8Glwv3tOuD2UkLm9AD5+XE0W296vfYcRkFU4faag2GiSwqB643d0ob/yR9rlPXENDXFAKTd7PnNHj8BoXhe8s80lIJX +nCfY+QRxiP75T6vAc/TtgK47LNxYEtKXDDXQQdQdWu/dunBefdkPBz7ii/2xL8vyPribgj2SarNeCX4R2YRgJ/MPpxTZOvRtAtSOQ== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 813 Lines: 33 From: K. Y. Srinivasan The version variable while it is initialized is not used; get rid of it. Signed-off-by: K. Y. Srinivasan --- 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 0afffd8..5a2a329 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; -- 1.7.4.1