From patchwork Thu Jan 8 10:38:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hao X-Patchwork-Id: 5591801 Return-Path: X-Original-To: patchwork-dmaengine@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2A3FBBF6C3 for ; Thu, 8 Jan 2015 10:40:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5B71D2037D for ; Thu, 8 Jan 2015 10:40:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4DA9F20375 for ; Thu, 8 Jan 2015 10:40:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755830AbbAHKkC (ORCPT ); Thu, 8 Jan 2015 05:40:02 -0500 Received: from mail-yk0-f175.google.com ([209.85.160.175]:57027 "EHLO mail-yk0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755931AbbAHKkC (ORCPT ); Thu, 8 Jan 2015 05:40:02 -0500 Received: by mail-yk0-f175.google.com with SMTP id 200so903567ykr.6 for ; Thu, 08 Jan 2015 02:40:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=eE/O+US5r8HJc1U/fLLyYi8J9WuUOfobV9R13guKciA=; b=Cc9tePlQz3PklSSwO713sAdKZoIqe7PfMxAS5FAApLt5Q2XbbrFElBBKWsPA85CVem S0JOdZj0kuOMjc8T6z4njX6DmocshY5qm7FVuu5WywFhkD+6xzS+v6UpgRezCJ0vE4d/ lPo3X1/Cz4rVsFu0iP/+7+PqdZ/azlNbRFXU3JVw0kXqrczT8lemPhaLTk0jLWoYg5T+ +7atbRDMnnCeaUoWraJk6RUZDKQBVyUm1sEceHGzvb5R4e73RzuI8GetKpJoaaRNdmgk luffAv09LATGsPyk/w5jDk08xMUqEC9jHyWQbHFk6eNGKSIhgqct+xe5O6zRYC0JlUkU JJVA== X-Received: by 10.170.174.197 with SMTP id q188mr6639633ykd.110.1420713600843; Thu, 08 Jan 2015 02:40:00 -0800 (PST) Received: from pek-khao-d1.corp.ad.wrs.com ([106.120.101.38]) by mx.google.com with ESMTPSA id e68sm2784074yhb.26.2015.01.08.02.39.57 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Jan 2015 02:40:00 -0800 (PST) From: Kevin Hao To: dmaengine@vger.kernel.org Cc: Li Yang , Zhang Wei , Vinod Koul , Lars-Peter Clausen Subject: [PATCH v2 2/2] dmaengine: fsldma: remove the unused variable Date: Thu, 8 Jan 2015 18:38:17 +0800 Message-Id: <1420713497-29212-2-git-send-email-haokexin@gmail.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1420713497-29212-1-git-send-email-haokexin@gmail.com> References: <1420713497-29212-1-git-send-email-haokexin@gmail.com> Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix the following build warning: drivers/dma/fsldma.c: In function 'fsl_dma_device_terminate_all': drivers/dma/fsldma.c:947:6: warning: unused variable 'size' [-Wunused-variable] Signed-off-by: Kevin Hao --- v2: No change. drivers/dma/fsldma.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/dma/fsldma.c b/drivers/dma/fsldma.c index 6856c8a916ab..300f821f1890 100644 --- a/drivers/dma/fsldma.c +++ b/drivers/dma/fsldma.c @@ -944,7 +944,6 @@ fail: static int fsl_dma_device_terminate_all(struct dma_chan *dchan) { struct fsldma_chan *chan; - int size; if (!dchan) return -EINVAL;