From patchwork Thu Mar 28 15:37:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 232085 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 9C5302C00A2 for ; Fri, 29 Mar 2013 03:02:24 +1100 (EST) Received: from localhost ([::1]:44424 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULFHS-00031O-UW for incoming@patchwork.ozlabs.org; Thu, 28 Mar 2013 12:02:22 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULEu3-0006oO-43 for qemu-devel@nongnu.org; Thu, 28 Mar 2013 11:38:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULEtz-0005F0-NC for qemu-devel@nongnu.org; Thu, 28 Mar 2013 11:38:10 -0400 Received: from mail-ob0-x235.google.com ([2607:f8b0:4003:c01::235]:40259) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULEtz-0005Er-Hr for qemu-devel@nongnu.org; Thu, 28 Mar 2013 11:38:07 -0400 Received: by mail-ob0-f181.google.com with SMTP id ni5so9185200obc.40 for ; Thu, 28 Mar 2013 08:38:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=DEIbU/IGgTcXb+pCLr2RC8f+IIRTGvJOoMToDcVXIko=; b=IjwTdXaWqG3dUG7mLZzIrlqL1PPm59gGonyO6DGvYA1X7IQjRe/Qwq/k+C3yxixSVq tWdJ90xG50MuQ/9KLVSvQBpOkDvkjPaAIiQFDtp04yQuUpD5XCzQ74JD5j9nIf9MPNG8 3uroGj93VEHWsbHx+6f9FJCDVutfM/bjra6JjKJsCXnlBS1jn5yOqJxz4kSRbatoidOY tHbxZV0VVAQ78sxqXXJU1ZY4m29i7l3jlWLOSNsZUZ9I++E8iuBJJh0SPmO5/nL0+son W7AOFM+Amx7CNsiQnsiwHQl+JiL1nb9HuOFeDQTgIn8RJOq6UGjEB5Lvwc/MKX1TgCU6 o3ng== X-Received: by 10.60.42.8 with SMTP id j8mr17750749oel.43.1364485086909; Thu, 28 Mar 2013 08:38:06 -0700 (PDT) Received: from pebble.twiddle.net (50-194-63-110-static.hfc.comcastbusiness.net. [50.194.63.110]) by mx.google.com with ESMTPS id cn1sm11022925pbb.7.2013.03.28.08.38.05 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 28 Mar 2013 08:38:06 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Thu, 28 Mar 2013 08:37:54 -0700 Message-Id: <1364485075-17899-5-git-send-email-rth@twiddle.net> X-Mailer: git-send-email 1.8.1.4 In-Reply-To: <1364485075-17899-1-git-send-email-rth@twiddle.net> References: <1364485075-17899-1-git-send-email-rth@twiddle.net> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c01::235 Cc: Stefan Weil Subject: [Qemu-devel] [PATCH 4/5] tci: Delete unused tb_ret_addr X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Richard Henderson --- tcg/tci/tcg-target.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tcg/tci/tcg-target.c b/tcg/tci/tcg-target.c index a85095c..b096a84 100644 --- a/tcg/tci/tcg-target.c +++ b/tcg/tci/tcg-target.c @@ -45,9 +45,6 @@ #define TCG_TARGET_STACK_ALIGN 16 #define TCG_TARGET_CALL_STACK_OFFSET 0 -/* TODO: documentation. */ -static uint8_t *tb_ret_addr; - /* Macros used in tcg_target_op_defs. */ #define R "r" #define RI "ri" @@ -912,7 +909,6 @@ static void tcg_target_init(TCGContext *s) } /* Generate global QEMU prologue and epilogue code. */ -static void tcg_target_qemu_prologue(TCGContext *s) +static inline void tcg_target_qemu_prologue(TCGContext *s) { - tb_ret_addr = s->code_ptr; }