From patchwork Wed Jan 7 12:57:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hao X-Patchwork-Id: 5584551 Return-Path: X-Original-To: patchwork-dmaengine@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 165CC9F665 for ; Wed, 7 Jan 2015 12:57:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 57DF72026F for ; Wed, 7 Jan 2015 12:57:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 80C3520263 for ; Wed, 7 Jan 2015 12:57:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751630AbbAGM51 (ORCPT ); Wed, 7 Jan 2015 07:57:27 -0500 Received: from mail-pd0-f171.google.com ([209.85.192.171]:64317 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751632AbbAGM51 (ORCPT ); Wed, 7 Jan 2015 07:57:27 -0500 Received: by mail-pd0-f171.google.com with SMTP id y13so4569967pdi.2 for ; Wed, 07 Jan 2015 04:57:26 -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=CRabtO8BMFSbr8nL+E+bvmRXp3YjXnNHoHY0t5ILpO0=; b=r2j0jtmAACRfTcAcbqYvFT5JPsFR5EwHj+HYTza66t1pioArnMf2JHmgq6P3abNu1b suhHDwy5zrk8O+sLMIPotDV+jLel89YjnKFUmB73LTi598SI5gj0o1n0cWDpt88y+Xkz TZ2zw3MBTiD9kyQkRGdj/1Ty4dSWKygC8izd9SLXJeK3hD0IPxNsQUv80b7RrIMeSOW8 jPdQNjzaaPgYzsbHDoM+/SqcP4VYSdA2uDgipQnmeNMWYQiFfaGklUQbXpqV7ZNbUKGI LdjQHL8orLpggdryTYBPZrhUeKZRq9qSuC3EeN9sffKJLWGlQyZV1QyJqA84OuEpVhRP Z1jw== X-Received: by 10.70.35.207 with SMTP id k15mr5058757pdj.166.1420635446891; Wed, 07 Jan 2015 04:57:26 -0800 (PST) Received: from ala-git.wrs.com (unknown-178-22.windriver.com. [147.11.178.22]) by mx.google.com with ESMTPSA id nt6sm1811359pdb.26.2015.01.07.04.57.25 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 07 Jan 2015 04:57:26 -0800 (PST) From: Kevin Hao To: dmaengine@vger.kernel.org Cc: Li Yang , Zhang Wei , Vinod Koul Subject: [PATCH 2/2] dmaengine: fsldma: remove the unused variable Date: Wed, 7 Jan 2015 04:57:11 -0800 Message-Id: <1420635431-3291-2-git-send-email-haokexin@gmail.com> X-Mailer: git-send-email 1.8.2.1 In-Reply-To: <1420635431-3291-1-git-send-email-haokexin@gmail.com> References: <1420635431-3291-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 --- drivers/dma/fsldma.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/dma/fsldma.c b/drivers/dma/fsldma.c index 93db1c3d87a6..c64bf086ce3e 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;