From patchwork Sun May 1 17:26:23 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Takuya Yoshikawa X-Patchwork-Id: 746232 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p41HQVkw012875 for ; Sun, 1 May 2011 17:26:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757911Ab1EAR02 (ORCPT ); Sun, 1 May 2011 13:26:28 -0400 Received: from mail-pw0-f46.google.com ([209.85.160.46]:64576 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753305Ab1EAR02 (ORCPT ); Sun, 1 May 2011 13:26:28 -0400 Received: by pwi15 with SMTP id 15so2399311pwi.19 for ; Sun, 01 May 2011 10:26:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=o6oKljLAfm08r1kNWEa6BwVN4M2x4BfrZIqkFTHSpX0=; b=JYw6T8uS9CQadv/wlPK/zRX8j0Bhsj9yCncNSR6znA1456Z383mbQRmvEBoHUWuJ7w Yib9NjP5b/hJDnwaeJwI30vRy3MqwLWwgSQKBwxWl2O6QwttZ+4oAJ7CJgWnlLrSqhEa 1g2WT54fV53Be0XZ7FKEjUttZhd0+FH1Zrk3Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=An9GDsHZf9Z0ocYwn+WobdDcpR7yTbdvVmKvi3YyNWMzJC62ixvV5Ldfm6Pbzgfu71 qySaVFEBci8jDNOrxA7jDUCuUC7+bpO4HVYsS+4EPALXGMaunxtL7hCBmqwuAn6pZnRR w6HRcsZF074lwH9+tA1O8So34kmDf5ztlOMJY= Received: by 10.68.27.200 with SMTP id v8mr8244756pbg.19.1304270787670; Sun, 01 May 2011 10:26:27 -0700 (PDT) Received: from amd (s198099.dynamic.ppp.asahi-net.or.jp [220.157.198.99]) by mx.google.com with ESMTPS id i7sm3267116pbs.7.2011.05.01.10.26.25 (version=SSLv3 cipher=OTHER); Sun, 01 May 2011 10:26:26 -0700 (PDT) Date: Mon, 2 May 2011 02:26:23 +0900 From: Takuya Yoshikawa To: avi@redhat.com, mtosatti@redhat.com Cc: kvm@vger.kernel.org, yoshikawa.takuya@oss.ntt.co.jp Subject: [PATCH 3/6] KVM: x86 emulator: Remove unused opt from writeback() Message-Id: <20110502022623.0b473a0d.takuya.yoshikawa@gmail.com> In-Reply-To: <20110502022143.0ef5d756.takuya.yoshikawa@gmail.com> References: <20110502022143.0ef5d756.takuya.yoshikawa@gmail.com> X-Mailer: Sylpheed 3.1.0beta2 (GTK+ 2.22.0; x86_64-pc-linux-gnu) Mime-Version: 1.0 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Sun, 01 May 2011 17:26:32 +0000 (UTC) From: Takuya Yoshikawa Remove inline at this chance. Signed-off-by: Takuya Yoshikawa --- arch/x86/kvm/emulate.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index 72b268e..5ed358f 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c @@ -1351,8 +1351,7 @@ static void write_register_operand(struct operand *op) } } -static inline int writeback(struct x86_emulate_ctxt *ctxt, - struct x86_emulate_ops *ops) +static int writeback(struct x86_emulate_ctxt *ctxt) { int rc; struct decode_cache *c = &ctxt->decode; @@ -4089,7 +4088,7 @@ special_insn: goto done; writeback: - rc = writeback(ctxt, ops); + rc = writeback(ctxt); if (rc != X86EMUL_CONTINUE) goto done;