Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751426AbdFXH2c (ORCPT ); Sat, 24 Jun 2017 03:28:32 -0400 Received: from terminus.zytor.com ([65.50.211.136]:49487 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751247AbdFXH2b (ORCPT ); Sat, 24 Jun 2017 03:28:31 -0400 Date: Sat, 24 Jun 2017 00:19:32 -0700 From: tip-bot for Anton Vasilyev Message-ID: Cc: peterz@infradead.org, hpa@zytor.com, vasilyev@ispras.ru, linux-kernel@vger.kernel.org, rusty@rustcorp.com.au, torvalds@linux-foundation.org, chrisw@sous-sol.org, tglx@linutronix.de, akataria@vmware.com, mingo@kernel.org, jeremy@goop.org Reply-To: linux-kernel@vger.kernel.org, peterz@infradead.org, hpa@zytor.com, vasilyev@ispras.ru, tglx@linutronix.de, torvalds@linux-foundation.org, rusty@rustcorp.com.au, chrisw@sous-sol.org, jeremy@goop.org, mingo@kernel.org, akataria@vmware.com In-Reply-To: <1498234993-1320-1-git-send-email-vasilyev@ispras.ru> References: <1498234993-1320-1-git-send-email-vasilyev@ispras.ru> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/cleanups] x86/paravirt: Remove unnecessary return from void function Git-Commit-ID: e8ad8bc403f49f8cb95448acfdeee39b459eded4 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1676 Lines: 42 Commit-ID: e8ad8bc403f49f8cb95448acfdeee39b459eded4 Gitweb: http://git.kernel.org/tip/e8ad8bc403f49f8cb95448acfdeee39b459eded4 Author: Anton Vasilyev AuthorDate: Fri, 23 Jun 2017 19:23:13 +0300 Committer: Ingo Molnar CommitDate: Sat, 24 Jun 2017 08:53:33 +0200 x86/paravirt: Remove unnecessary return from void function The patch removes unnecessary return from void function. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Anton Vasilyev Cc: Alok Kataria Cc: Chris Wright Cc: Jeremy Fitzhardinge Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Rusty Russell Cc: Thomas Gleixner Cc: ldv-project@linuxtesting.org Cc: virtualization@lists.linux-foundation.org Link: http://lkml.kernel.org/r/1498234993-1320-1-git-send-email-vasilyev@ispras.ru Signed-off-by: Ingo Molnar --- arch/x86/include/asm/paravirt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/asm/paravirt.h b/arch/x86/include/asm/paravirt.h index 55fa56f..a3dcf89 100644 --- a/arch/x86/include/asm/paravirt.h +++ b/arch/x86/include/asm/paravirt.h @@ -118,7 +118,7 @@ static inline u64 paravirt_read_msr(unsigned msr) static inline void paravirt_write_msr(unsigned msr, unsigned low, unsigned high) { - return PVOP_VCALL3(pv_cpu_ops.write_msr, msr, low, high); + PVOP_VCALL3(pv_cpu_ops.write_msr, msr, low, high); } static inline u64 paravirt_read_msr_safe(unsigned msr, int *err)