From patchwork Tue Jun 24 16:09:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 32438 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f200.google.com (mail-pd0-f200.google.com [209.85.192.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8A826201EF for ; Tue, 24 Jun 2014 16:20:25 +0000 (UTC) Received: by mail-pd0-f200.google.com with SMTP id v10sf1681066pde.3 for ; Tue, 24 Jun 2014 09:20:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=fR1phe2qsabkTnU/Cg0Wts/s08wT8vKjhvc6LpXJnwc=; b=EYwtG5rce9l10t8JwcmWDfmboo0BX/56uzI0Tq346AR7/OQEkuTwKWt0hXy1xcLmSD g085x0MhPbSGb7X0VHqUTmrNDyagSYzw/gG7gGa/YZXWkVlfRV2/99AhBXdjDsZZL54U uzoMuis980W++ZszM2d7s7onqPuT0uraxYCTrB4qwvhj5rA7y5U1zXUhmr9dha7MB0GK +S1gJHKYo3c+GD2dZx3yfkWKp7dca3VKJ0qMPBWJnIBBR6QrgkHHcp0r7I49tu3QscxW b+Ylqa/fzIqg0Dsw1Vi3N/BkGKXIMYR8GxsoSMJuaXYcgXS2xoncdwxNqG79sYfRjg4K AQHA== X-Gm-Message-State: ALoCoQk0z3oLoIl0U5GIh9dacGcK8ky8V2/f4owFQq8LY2UD/VNCg9MmA8emAX/wjOfukQcThWWb X-Received: by 10.68.253.66 with SMTP id zy2mr964822pbc.1.1403626824864; Tue, 24 Jun 2014 09:20:24 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.36.36 with SMTP id o33ls2340691qgo.76.gmail; Tue, 24 Jun 2014 09:20:24 -0700 (PDT) X-Received: by 10.58.56.71 with SMTP id y7mr1689643vep.24.1403626824758; Tue, 24 Jun 2014 09:20:24 -0700 (PDT) Received: from mail-ve0-f172.google.com (mail-ve0-f172.google.com [209.85.128.172]) by mx.google.com with ESMTPS id s19si513389vcp.1.2014.06.24.09.20.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 24 Jun 2014 09:20:24 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.172 as permitted sender) client-ip=209.85.128.172; Received: by mail-ve0-f172.google.com with SMTP id jz11so594419veb.31 for ; Tue, 24 Jun 2014 09:20:24 -0700 (PDT) X-Received: by 10.58.182.234 with SMTP id eh10mr1596422vec.41.1403626824695; Tue, 24 Jun 2014 09:20:24 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp223827vcb; Tue, 24 Jun 2014 09:20:24 -0700 (PDT) X-Received: by 10.140.91.66 with SMTP id y60mr3158167qgd.58.1403626823749; Tue, 24 Jun 2014 09:20:23 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id q8si989884qai.25.2014.06.24.09.20.23 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 24 Jun 2014 09:20:23 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:60849 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzTSJ-00009Q-AQ for patch@linaro.org; Tue, 24 Jun 2014 12:20:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzTRN-0007ZW-QP for qemu-devel@nongnu.org; Tue, 24 Jun 2014 12:19:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzTRG-0001OS-Q1 for qemu-devel@nongnu.org; Tue, 24 Jun 2014 12:19:25 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:41845) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzTRG-0001Nt-IA; Tue, 24 Jun 2014 12:19:18 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 0B1DA44085; Tue, 24 Jun 2014 20:19:17 +0400 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id 3108A6B7; Tue, 24 Jun 2014 20:09:23 +0400 (MSK) Received: (nullmailer pid 15634 invoked by uid 1000); Tue, 24 Jun 2014 16:09:21 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Tue, 24 Jun 2014 20:09:18 +0400 Message-Id: <1403626160-15546-13-git-send-email-mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1403626160-15546-1-git-send-email-mjt@msgid.tls.msk.ru> References: <1403626160-15546-1-git-send-email-mjt@msgid.tls.msk.ru> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 86.62.121.231 Cc: qemu-trivial@nongnu.org, Peter Maydell , Michael Tokarev Subject: [Qemu-devel] [PULL 12/14] target-s390x: Remove unused ld_code6() function 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mjt@tls.msk.ru X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.172 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Peter Maydell The ld_code6() function is unused; remove it. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Signed-off-by: Michael Tokarev --- target-s390x/translate.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/target-s390x/translate.c b/target-s390x/translate.c index 8ca4824..e2a1d05 100644 --- a/target-s390x/translate.c +++ b/target-s390x/translate.c @@ -264,11 +264,6 @@ static inline uint64_t ld_code4(CPUS390XState *env, uint64_t pc) return (uint64_t)(uint32_t)cpu_ldl_code(env, pc); } -static inline uint64_t ld_code6(CPUS390XState *env, uint64_t pc) -{ - return (ld_code2(env, pc) << 32) | ld_code4(env, pc + 2); -} - static int get_mem_index(DisasContext *s) { switch (s->tb->flags & FLAG_MASK_ASC) {