From patchwork Tue Jun 10 16:08:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 31679 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f200.google.com (mail-ob0-f200.google.com [209.85.214.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6A4FD2054B for ; Tue, 10 Jun 2014 16:20:15 +0000 (UTC) Received: by mail-ob0-f200.google.com with SMTP id wo20sf43464586obc.7 for ; Tue, 10 Jun 2014 09:20:15 -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:in-reply-to:references: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=pFkR1UQrKQ/Br0+lQWBqEM28Pfip6f3J/7BjiBin5DU=; b=GaGN8LiGN7HZRWnzRYfriiRJuXIwDrlcji5P9tAfJj6Xny0ODlF7QgN6mj155n3pwH pm4tbMsWSQMrlKJFpB9ccK3ExXqb7ymjE3L45ftWmRFyw4fXmNWxb6J6i9hYxft5L634 AQzuGj9bgc0zz68P9JTZajmtYyNOnjibTBpkFKHyjXj3iDvt7zKV5LTmS7GDGtbOP/Ii WHoj4JwISzUS8EKpcb3SDgkIzZUkVZ1wCu14CYls0AxQxNBhlZEVBAb8udIfOmi1IVKW ltGfyxtWIiX/RRJP4GNXpy104i1tVCOrSxLUlzNROa6+q5/+Ln/Huq92j/MGofKN0g9U 58Fw== X-Gm-Message-State: ALoCoQl7RyXEKBLpmrLKd3ZEJ7bajWcmGho43T+bKkG4f3+VM1AD+nO7p7gemLxP8JQa0t4T+1gT X-Received: by 10.42.177.5 with SMTP id bg5mr14490691icb.27.1402417215054; Tue, 10 Jun 2014 09:20:15 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.86.100 with SMTP id o91ls2323514qgd.30.gmail; Tue, 10 Jun 2014 09:20:14 -0700 (PDT) X-Received: by 10.220.59.65 with SMTP id k1mr33209014vch.22.1402417214779; Tue, 10 Jun 2014 09:20:14 -0700 (PDT) Received: from mail-ve0-f169.google.com (mail-ve0-f169.google.com [209.85.128.169]) by mx.google.com with ESMTPS id u5si1993632vcr.104.2014.06.10.09.20.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Jun 2014 09:20:14 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.169 as permitted sender) client-ip=209.85.128.169; Received: by mail-ve0-f169.google.com with SMTP id pa12so2092879veb.14 for ; Tue, 10 Jun 2014 09:20:14 -0700 (PDT) X-Received: by 10.58.220.230 with SMTP id pz6mr13309699vec.9.1402417214668; Tue, 10 Jun 2014 09:20:14 -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.54.6 with SMTP id vs6csp237991vcb; Tue, 10 Jun 2014 09:20:14 -0700 (PDT) X-Received: by 10.224.55.130 with SMTP id u2mr43484194qag.67.1402417213054; Tue, 10 Jun 2014 09:20:13 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id 31si27408609qgw.57.2014.06.10.09.20.12 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 10 Jun 2014 09:20:13 -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]:41054 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuOmS-0005FB-KX for patch@linaro.org; Tue, 10 Jun 2014 12:20:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuOkK-00021f-KJ for qemu-devel@nongnu.org; Tue, 10 Jun 2014 12:18:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WuOkF-0003gA-Gd for qemu-devel@nongnu.org; Tue, 10 Jun 2014 12:18:00 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:41732) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuOkF-0003g5-9s; Tue, 10 Jun 2014 12:17:55 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id BDCED412C4; Tue, 10 Jun 2014 20:17:53 +0400 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id BE4F76C4; Tue, 10 Jun 2014 20:08:48 +0400 (MSK) Received: (nullmailer pid 13311 invoked by uid 1000); Tue, 10 Jun 2014 16:08:47 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Tue, 10 Jun 2014 20:08:28 +0400 Message-Id: <1402416523-13212-11-git-send-email-mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1402416523-13212-1-git-send-email-mjt@msgid.tls.msk.ru> References: <1402416523-13212-1-git-send-email-mjt@msgid.tls.msk.ru> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 86.62.121.231 Cc: qemu-trivial@nongnu.org, Peter Maydell , Michael Tokarev Subject: [Qemu-devel] [PULL 10/25] hw/dma/xilinx_axidma: Remove unused stream_halted() 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: mjt@tls.msk.ru 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.169 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 From: Peter Maydell The stream_halted() function is never used; remove it. Signed-off-by: Peter Maydell Signed-off-by: Michael Tokarev --- hw/dma/xilinx_axidma.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hw/dma/xilinx_axidma.c b/hw/dma/xilinx_axidma.c index cc90eb5..ee60d3f 100644 --- a/hw/dma/xilinx_axidma.c +++ b/hw/dma/xilinx_axidma.c @@ -157,11 +157,6 @@ static inline int stream_running(struct Stream *s) return s->regs[R_DMACR] & DMACR_RUNSTOP; } -static inline int stream_halted(struct Stream *s) -{ - return s->regs[R_DMASR] & DMASR_HALTED; -} - static inline int stream_idle(struct Stream *s) { return !!(s->regs[R_DMASR] & DMASR_IDLE);