All of lore.kernel.org
 help / color / mirror / Atom feed
From: tip-bot for Anton Vasilyev <tipbot@zytor.com>
To: linux-tip-commits@vger.kernel.org
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
Subject: [tip:x86/cleanups] x86/paravirt: Remove unnecessary return from void function
Date: Sat, 24 Jun 2017 00:19:32 -0700	[thread overview]
Message-ID: <tip-e8ad8bc403f49f8cb95448acfdeee39b459eded4@git.kernel.org> (raw)
In-Reply-To: <1498234993-1320-1-git-send-email-vasilyev@ispras.ru>

Commit-ID:  e8ad8bc403f49f8cb95448acfdeee39b459eded4
Gitweb:     http://git.kernel.org/tip/e8ad8bc403f49f8cb95448acfdeee39b459eded4
Author:     Anton Vasilyev <vasilyev@ispras.ru>
AuthorDate: Fri, 23 Jun 2017 19:23:13 +0300
Committer:  Ingo Molnar <mingo@kernel.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@ispras.ru>
Cc: Alok Kataria <akataria@vmware.com>
Cc: Chris Wright <chrisw@sous-sol.org>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Thomas Gleixner <tglx@linutronix.de>
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 <mingo@kernel.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)

  reply	other threads:[~2017-06-24  7:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-23 16:23 [PATCH] x86: Remove unnecessary return from void function Anton Vasilyev
2017-06-24  7:19 ` tip-bot for Anton Vasilyev [this message]
2017-10-27  5:42 ` Juergen Gross
2017-10-27  8:48   ` Ingo Molnar
2017-10-27  8:48   ` Ingo Molnar
2017-10-27  5:42 ` Juergen Gross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tip-e8ad8bc403f49f8cb95448acfdeee39b459eded4@git.kernel.org \
    --to=tipbot@zytor.com \
    --cc=akataria@vmware.com \
    --cc=chrisw@sous-sol.org \
    --cc=hpa@zytor.com \
    --cc=jeremy@goop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tip-commits@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=peterz@infradead.org \
    --cc=rusty@rustcorp.com.au \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    --cc=vasilyev@ispras.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.