From patchwork Mon Jun 23 23:06:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 32394 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f197.google.com (mail-ig0-f197.google.com [209.85.213.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A96AF20540 for ; Mon, 23 Jun 2014 23:07:25 +0000 (UTC) Received: by mail-ig0-f197.google.com with SMTP id r10sf13618515igi.8 for ; Mon, 23 Jun 2014 16:07: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: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=pTso6oAM5n1WYgbl0dwMPyi9JJfmlRXaG7FdTjHxgpI=; b=WdYF8C92+py3ZMkKsSoB34h4g+WkrOvnyerkXpoAp8LB4GyNK0UKAOPy5l7BABBq4o SqWT5B4JE+KSQsxAOiOaDsqxVU9WcYhCdTiM3Ohmnp0AEZymKEUeSSfaNA8oUf6p85bI /Wgi3TPbvOkqS4798ZVJLHQ7TVZpQFZMYnMyN3ETei89+Zh7nhb8kJh9uby++ST56lRK l2733oyWfGclfsmUY57vdza8fb0uRWEOEkRYb0fsn4lKNy4HQE3uja2N+Yv5mm9DdIdX qFwvzSB/gZpWRj1yFe799mxdRruVqeeqoYBD4qoTfdMWEZLJ2/3PdmEOavT8ePZ6nyad dcBA== X-Gm-Message-State: ALoCoQnaonDPZgER30oDQEpqWnnUmp9/dy+4HmzcJlIgpgffycMbLUZOKyjy2DoFbpkVqGN8m0Md X-Received: by 10.182.166.36 with SMTP id zd4mr9873455obb.43.1403564844946; Mon, 23 Jun 2014 16:07:24 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.37.18 with SMTP id q18ls1557187qgq.70.gmail; Mon, 23 Jun 2014 16:07:24 -0700 (PDT) X-Received: by 10.220.253.132 with SMTP id na4mr21139vcb.39.1403564844833; Mon, 23 Jun 2014 16:07:24 -0700 (PDT) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id p19si9751336vdg.38.2014.06.23.16.07.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 23 Jun 2014 16:07:24 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.181 as permitted sender) client-ip=209.85.128.181; Received: by mail-ve0-f181.google.com with SMTP id db11so6681104veb.40 for ; Mon, 23 Jun 2014 16:07:24 -0700 (PDT) X-Received: by 10.52.88.17 with SMTP id bc17mr3600732vdb.45.1403564844747; Mon, 23 Jun 2014 16:07: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 tc5csp164244vcb; Mon, 23 Jun 2014 16:07:24 -0700 (PDT) X-Received: by 10.224.92.139 with SMTP id r11mr37707850qam.15.1403564844427; Mon, 23 Jun 2014 16:07:24 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id y8si24484544qcq.19.2014.06.23.16.07.24 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 23 Jun 2014 16:07:24 -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]:56357 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzDKe-0007vh-0c for patch@linaro.org; Mon, 23 Jun 2014 19:07:24 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzDJs-000786-DJ for qemu-devel@nongnu.org; Mon, 23 Jun 2014 19:06:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzDJr-0001W2-LV for qemu-devel@nongnu.org; Mon, 23 Jun 2014 19:06:36 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:48701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzDJr-0001V6-F7; Mon, 23 Jun 2014 19:06:35 -0400 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1WzDJq-00048c-FB; Tue, 24 Jun 2014 00:06:34 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Date: Tue, 24 Jun 2014 00:06:34 +0100 Message-Id: <1403564794-15881-1-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:8b0:1d0::1 Cc: qemu-trivial@nongnu.org, Alexander Graf , Richard Henderson Subject: [Qemu-devel] [PATCH] 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: peter.maydell@linaro.org 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.181 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 The ld_code6() function is unused; remove it. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson --- We could use this for loads of 6-byte insns, but that would imply a pointless reload of the first 2 bytes, which is presumably why this function isn't actually used. --- 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) {