From patchwork Thu Oct 4 14:34:38 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 11986 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 5EA831D50FF for ; Thu, 4 Oct 2012 14:34:43 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 176DEA18CCE for ; Thu, 4 Oct 2012 14:34:42 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so1069179iej.11 for ; Thu, 04 Oct 2012 07:34:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:x-gm-message-state; bh=ULfvKmwXxWl3ujARmxUDVruv3YXj/HmZOL+JB49YXPM=; b=HRRoPuCbBGymjBlRsy6lkvApLN78/HlsUe3iMUz4QzHlQFKAUKRZK2Pc4T9u+X36zU VsyD+EYEpnC9kAfFK1giWKq+OCkgHwZV/5Qdf02QifAOYE0hyCAZ9YgRyCCMTkNlMrtO pcB+wN/iTuTffxkAAAGXuY5xmJY8bt09jmmzhMKO4Bynmthy3T0dfn8IbevuiN/q8Tl8 dznO+V4omv2PHTddCYpibW1R/JB4khXAA0TYD3POGeeKx+0mUotsfDH2SGxuJsjCR61l NNWmwQKL/narKtcJZUitXHnGhD/vbUfRV4oS5vc8hl2f6gooGkt5EC+l3jNpWtzSdxXJ Yoqw== Received: by 10.42.109.194 with SMTP id m2mr4445188icp.48.1349361282501; Thu, 04 Oct 2012 07:34:42 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.232 with SMTP id ex8csp70110igc; Thu, 4 Oct 2012 07:34:41 -0700 (PDT) Received: by 10.180.93.106 with SMTP id ct10mr13444048wib.8.1349361281152; Thu, 04 Oct 2012 07:34:41 -0700 (PDT) Received: from mnementh.archaic.org.uk (1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.1.0.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:1d0::1]) by mx.google.com with ESMTPS id hq11si18378134wib.38.2012.10.04.07.34.40 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 04 Oct 2012 07:34:41 -0700 (PDT) Received-SPF: neutral (google.com: 2001:8b0:1d0::1 is neither permitted nor denied by best guess record for domain of pm215@archaic.org.uk) client-ip=2001:8b0:1d0::1; Authentication-Results: mx.google.com; spf=neutral (google.com: 2001:8b0:1d0::1 is neither permitted nor denied by best guess record for domain of pm215@archaic.org.uk) smtp.mail=pm215@archaic.org.uk Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.72) (envelope-from ) id 1TJmVa-0007jK-Nh; Thu, 04 Oct 2012 15:34:38 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org Subject: [PATCH] target-arm: Drop unused DECODE_CPREG_CRN macro Date: Thu, 4 Oct 2012 15:34:38 +0100 Message-Id: <1349361278-29689-1-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.2.5 X-Gm-Message-State: ALoCoQlX49sTyNvrDX5pa21vIwo1KGH9rFYGzPxlhANOfPUoXfmfZxKS1AwtKfE3CsaCubAAjcX5 This macro snuck through code review despite being unused; drop it. Signed-off-by: Peter Maydell --- target-arm/cpu.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/target-arm/cpu.h b/target-arm/cpu.h index 7fac94f..ff4de10 100644 --- a/target-arm/cpu.h +++ b/target-arm/cpu.h @@ -423,8 +423,6 @@ void armv7m_nvic_complete_irq(void *opaque, int irq); (((cp) << 16) | ((is64) << 15) | ((crn) << 11) | \ ((crm) << 7) | ((opc1) << 3) | (opc2)) -#define DECODE_CPREG_CRN(enc) (((enc) >> 7) & 0xf) - /* ARMCPRegInfo type field bits. If the SPECIAL bit is set this is a * special-behaviour cp reg and bits [15..8] indicate what behaviour * it has. Otherwise it is a simple cp reg, where CONST indicates that