From patchwork Mon Jan 11 14:34:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 565915 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 8971C140BFB for ; Tue, 12 Jan 2016 01:34:59 +1100 (AEDT) Received: from localhost ([::1]:54673 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIdYf-00005p-Dx for incoming@patchwork.ozlabs.org; Mon, 11 Jan 2016 09:34:57 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57605) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIdYF-0007mO-RL for qemu-devel@nongnu.org; Mon, 11 Jan 2016 09:34:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aIdYE-00062i-W6 for qemu-devel@nongnu.org; Mon, 11 Jan 2016 09:34:31 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:59287) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIdYE-00061Q-Pl for qemu-devel@nongnu.org; Mon, 11 Jan 2016 09:34:30 -0500 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1aIdYC-0006eh-CD for qemu-devel@nongnu.org; Mon, 11 Jan 2016 14:34:28 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Date: Mon, 11 Jan 2016 14:34:26 +0000 Message-Id: <1452522868-25550-3-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1452522868-25550-1-git-send-email-peter.maydell@linaro.org> References: <1452522868-25550-1-git-send-email-peter.maydell@linaro.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 2001:8b0:1d0::1 Subject: [Qemu-devel] [PULL 2/5] hw/dma/xilinx_axidma: remove dead code 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 From: Andrew Jones stream_desc_show() (and DEBUG_ENET) appear to be unused, as the function isn't compilable (there are broken PRI format strings). Signed-off-by: Andrew Jones Reviewed-by: Eric Blake Reviewed-by: Alistair Francis Message-id: 1452084792-17424-1-git-send-email-drjones@redhat.com Signed-off-by: Peter Maydell --- hw/dma/xilinx_axidma.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/hw/dma/xilinx_axidma.c b/hw/dma/xilinx_axidma.c index b1cfa11..f5ebc1f 100644 --- a/hw/dma/xilinx_axidma.c +++ b/hw/dma/xilinx_axidma.c @@ -177,16 +177,6 @@ static inline int streamid_from_addr(hwaddr addr) return sid; } -#ifdef DEBUG_ENET -static void stream_desc_show(struct SDesc *d) -{ - qemu_log("buffer_addr = " PRIx64 "\n", d->buffer_address); - qemu_log("nxtdesc = " PRIx64 "\n", d->nxtdesc); - qemu_log("control = %x\n", d->control); - qemu_log("status = %x\n", d->status); -} -#endif - static void stream_desc_load(struct Stream *s, hwaddr addr) { struct SDesc *d = &s->desc;