From patchwork Fri Oct 5 14:35:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 189506 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 3053E2C0331 for ; Sat, 6 Oct 2012 00:57:04 +1000 (EST) Received: from localhost ([::1]:37950 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TK9Ko-0000UB-Ci for incoming@patchwork.ozlabs.org; Fri, 05 Oct 2012 10:57:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TK9KU-0000Po-Mx for qemu-devel@nongnu.org; Fri, 05 Oct 2012 10:56:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TK9KT-0004CO-JL for qemu-devel@nongnu.org; Fri, 05 Oct 2012 10:56:42 -0400 Received: from 38.0.169.217.in-addr.arpa ([217.169.0.38]:39057 helo=mnementh.archaic.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TK9KT-0004C4-Cn for qemu-devel@nongnu.org; Fri, 05 Oct 2012 10:56:41 -0400 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.72) (envelope-from ) id 1TK8zv-0008CS-Ds; Fri, 05 Oct 2012 15:35:27 +0100 From: Peter Maydell To: Aurelien Jarno , Blue Swirl Date: Fri, 5 Oct 2012 15:35:26 +0100 Message-Id: <1349447726-31473-9-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1349447726-31473-1-git-send-email-peter.maydell@linaro.org> References: <1349447726-31473-1-git-send-email-peter.maydell@linaro.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 217.169.0.38 Cc: qemu-devel@nongnu.org, Paul Brook Subject: [Qemu-devel] [PATCH 8/8] target-arm: Drop unused DECODE_CPREG_CRN macro 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 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