[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-e8ad8bc403f49f8cb95448acfdeee39b459eded4@git.kernel.org>
Date: Sat, 24 Jun 2017 00:19:32 -0700
From: tip-bot for Anton Vasilyev <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: peterz@...radead.org, hpa@...or.com, vasilyev@...ras.ru,
linux-kernel@...r.kernel.org, rusty@...tcorp.com.au,
torvalds@...ux-foundation.org, chrisw@...s-sol.org,
tglx@...utronix.de, akataria@...are.com, mingo@...nel.org,
jeremy@...p.org
Subject: [tip:x86/cleanups] x86/paravirt: Remove unnecessary return from
void function
Commit-ID: e8ad8bc403f49f8cb95448acfdeee39b459eded4
Gitweb: http://git.kernel.org/tip/e8ad8bc403f49f8cb95448acfdeee39b459eded4
Author: Anton Vasilyev <vasilyev@...ras.ru>
AuthorDate: Fri, 23 Jun 2017 19:23:13 +0300
Committer: Ingo Molnar <mingo@...nel.org>
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 <vasilyev@...ras.ru>
Cc: Alok Kataria <akataria@...are.com>
Cc: Chris Wright <chrisw@...s-sol.org>
Cc: Jeremy Fitzhardinge <jeremy@...p.org>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Rusty Russell <rusty@...tcorp.com.au>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: ldv-project@...uxtesting.org
Cc: virtualization@...ts.linux-foundation.org
Link: http://lkml.kernel.org/r/1498234993-1320-1-git-send-email-vasilyev@ispras.ru
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
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)
Powered by blists - more mailing lists