From patchwork Wed Jan 6 12:53:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Jones X-Patchwork-Id: 59238 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp6560192lbb; Wed, 6 Jan 2016 04:53:47 -0800 (PST) X-Received: by 10.140.134.198 with SMTP id 189mr138878940qhg.58.1452084827264; Wed, 06 Jan 2016 04:53:47 -0800 (PST) Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id j67si50192115qhd.21.2016.01.06.04.53.47 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 06 Jan 2016 04:53:47 -0800 (PST) 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; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org Received: from localhost ([::1]:53989 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGnb0-00082p-Vm for patch@linaro.org; Wed, 06 Jan 2016 07:53:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGnad-0007lL-VU for qemu-devel@nongnu.org; Wed, 06 Jan 2016 07:53:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGnaa-0003hA-PD for qemu-devel@nongnu.org; Wed, 06 Jan 2016 07:53:23 -0500 Received: from mx1.redhat.com ([209.132.183.28]:37243) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGnaa-0003h4-Jq for qemu-devel@nongnu.org; Wed, 06 Jan 2016 07:53:20 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id E8D52C0B7A1B; Wed, 6 Jan 2016 12:53:18 +0000 (UTC) Received: from hawk.localdomain.com (dhcp-1-220.brq.redhat.com [10.34.1.220]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u06CrHod022682; Wed, 6 Jan 2016 07:53:17 -0500 From: Andrew Jones To: qemu-devel@nongnu.org Date: Wed, 6 Jan 2016 13:53:12 +0100 Message-Id: <1452084792-17424-1-git-send-email-drjones@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: edgar.iglesias@gmail.com, crosthwaite.peter@gmail.com, alistair.francis@xilinx.com Subject: [Qemu-devel] [PATCH] 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org 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 --- hw/dma/xilinx_axidma.c | 10 ---------- 1 file changed, 10 deletions(-) -- 2.4.3 diff --git a/hw/dma/xilinx_axidma.c b/hw/dma/xilinx_axidma.c index b1cfa11356a26..f5ebc1f0e0734 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;