From patchwork Thu Dec 19 18:32:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 182163 Delivered-To: patch@linaro.org Received: by 2002:a92:d0a:0:0:0:0:0 with SMTP id 10csp858428iln; Thu, 19 Dec 2019 10:43:34 -0800 (PST) X-Google-Smtp-Source: APXvYqzP65rdMVgg4xutHic8O8tT06HDBYuaAlu6xwofrL1/vZhRcaS5mYVkZ4osll9Krf3sKaVW X-Received: by 2002:a9d:21f4:: with SMTP id s107mr8205696otb.102.1576781014477; Thu, 19 Dec 2019 10:43:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576781014; cv=none; d=google.com; s=arc-20160816; b=fjomBnxWZh2YqkZgqrjlDpOltHEZjxYKqQv7sS+/gy/3AmKcnsLIDL3vsq1o3qnE2V qfnW1aldHXufTt+xwlWxPAdUciGJ/DioWsB3C1UntPewUpIzDLAD/PgT219q5DQP1dR4 qTtrMZ7XKSewdCSwlX2B2iXSa1e3NcKy91VE8byXGf6c3DE4PQfgUnMZHgh6rkq2rR7R iNd0mucJzYDAG5bCIqqkrIJ6Q/+F+Ebk9aCWF9L+8hym7XxupfhfMuWRKEMJ2Q8uZw3P doRv2hd9anHf3Hir+yy3fl3NOj6vHipddgiGsA+yN8WWYl2QijYAPD2SP1dfShHLu+I+ wzTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=tNX3boPItiqeUyFYqEFkIj2tOBwBKCUoqGW4W3JyoHA=; b=RAq9NCKSHtDevUrUolw7UvJCLMIEAKK8qABkmSkpG/5MUH8HzQeMAp+58ncJUVWVDe fdqG/mLSa4MWA+EierJrZOO7h/IU7yBEcc5xJnJ5Yg5OeLROordAlk8PWubXYjbh18Jr U1z8/fopdbUztXzgblr3IxweJi7xErT35XdBU2fdbV7RTw4pInq7+2RQ2K1E1yoZo4sp ee5r6m/j5Kjp5SZJyEjmEdN20+gIO4v2cwvfiaA5Nqfq7VU2t/mT0u8hh5iaiYfOXKAq fuEQwojN1XaLDyI4MWyhjehuuGBFgZe5zRUyOYKlfQYq2gm2xG23GeD/PLGx/32sQ1jr tzeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=d7iy2VwC; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i2si3520304otc.130.2019.12.19.10.43.34; Thu, 19 Dec 2019 10:43:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=d7iy2VwC; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728377AbfLSSnc (ORCPT + 14 others); Thu, 19 Dec 2019 13:43:32 -0500 Received: from mail.kernel.org ([198.145.29.99]:35192 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728593AbfLSSnc (ORCPT ); Thu, 19 Dec 2019 13:43:32 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6FC9A206D7; Thu, 19 Dec 2019 18:43:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576781011; bh=/LUzzBf+Yofy0eimmBq0G62TXMndjXspkVTWifPx2yg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=d7iy2VwC/Mabt/f4Rc7X9UhaKWZmo5mS98YYNbRbqn+KHSRzonRpDnx5CAFUPF/ys CbVrhivYEDuecKnekVo5DWGYxbbcV6gyjgIEQgQ2dyuxAadKukyWD/83KdbRkaJ7ki R9gYq5lQOViu97Z9sCdTQro8fqguy1jmj5TTd/Xw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Stephen Rothwell , Vinod Koul Subject: [PATCH 4.9 039/199] dmaengine: coh901318: Remove unused variable Date: Thu, 19 Dec 2019 19:32:01 +0100 Message-Id: <20191219183217.081976972@linuxfoundation.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191219183214.629503389@linuxfoundation.org> References: <20191219183214.629503389@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Vinod Koul commit 35faaf0df42d285b40f8a6310afbe096720f7758 upstream. Commit 627469e4445b ("dmaengine: coh901318: Fix a double-lock bug") left flags variable unused, so remove it to fix the warning. drivers/dma/coh901318.c: In function 'coh901318_config': drivers/dma/coh901318.c:1805:16: warning: unused variable 'flags' [-Wunused-variable] unsigned long flags; ^~~~~ Fixes: 627469e4445b ("dmaengine: coh901318: Fix a double-lock bug") Reported-By: Stephen Rothwell Signed-off-by: Vinod Koul Signed-off-by: Greg Kroah-Hartman --- drivers/dma/coh901318.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/dma/coh901318.c +++ b/drivers/dma/coh901318.c @@ -1797,7 +1797,6 @@ static struct dma_chan *coh901318_xlate( static int coh901318_config(struct coh901318_chan *cohc, struct coh901318_params *param) { - unsigned long flags; const struct coh901318_params *p; int channel = cohc->id; void __iomem *virtbase = cohc->base->virtbase;