From patchwork Wed Dec 11 15:04:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 181237 Delivered-To: patch@linaro.org Received: by 2002:ac9:44c4:0:0:0:0:0 with SMTP id t4csp913018och; Wed, 11 Dec 2019 07:19:49 -0800 (PST) X-Google-Smtp-Source: APXvYqwaq2TtUEmC1l5Vi6jetAnmS3eP9XAVx8XmcF7CSzvxscNNRRe5OGXuVv1UpgGpE7yoTTkN X-Received: by 2002:a9d:6a8f:: with SMTP id l15mr2556531otq.59.1576077589565; Wed, 11 Dec 2019 07:19:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576077589; cv=none; d=google.com; s=arc-20160816; b=jVkFoHMw3SlPPhCe1tEu/BD5gcNEceT/VNsEucMiRfCBfrbDZtEZxzc+UwPTN9L3OY wiNrQnjfQMu/wZyyccPI/3//RwwQhcM4zu/Xqa5iEerXuT+g2LF1sUxJiMrH3LPrmYee nc5EdW6+G/bzKLVT5396t1i/pzA1GKxijSiOPBR08bLmKtKh/uerpan85WX0ZPn/ZIX3 NecRK4bhxAbZLke2WzIUG1Aq35b/IRka0sB7BJLPY05iV17IVzwzAcMMQt9AHBxchIxR i2sLR2dGcYqLyM/jWF8Qdg7PLHe21AwVhoOvFPd1LUSlt4SVgRfrxdW9sylQi1Cnynma oUmg== 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=Vykou1bmIOlZpeJwI1j+ogSvX20YQIY2PJ9mqJrTnYFfcOTAtIuQbKSjpP5Tn774kM MOBve6G3EA4iHZlF+1TpV/oPfbsVAcnJte6AtUIge3TGb4sGXq6sJggCXY7173V3noBn tNlKLZNvKZR8q0O4o5zAvwr60TxMj2nh2Bz5eLUK2ORgRDJs+M8OWMAblOjHbgHWXX7m J8263NBIikFZpAR+lmoouiCqNgkKWRyT4NtXoxbAnCHj4G4uqVbpjz0oNproJkFH3l99 n0/jGP31xqP+Da1PY3itj8/8V97IIqWgHTfbSrCyIG9+GUFU7uwxRoFYQ0sazviht1Rf 6+9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=tgXZdiUS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 d187si1353759oif.33.2019.12.11.07.19.49; Wed, 11 Dec 2019 07:19:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=tgXZdiUS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732094AbfLKPTs (ORCPT + 27 others); Wed, 11 Dec 2019 10:19:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:48672 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732263AbfLKPTq (ORCPT ); Wed, 11 Dec 2019 10:19:46 -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 274DE2073D; Wed, 11 Dec 2019 15:19:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576077585; bh=/LUzzBf+Yofy0eimmBq0G62TXMndjXspkVTWifPx2yg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tgXZdiUSgMfpCrFaiTPKITqQBPb8TaFjDmZ/pjJ0QEq9ng0DSzx0QSMo0H2OZaSOG gnOxIBsB5kHcmkRfjZ3MWOK6NzMuh27xYLZQEIY4z7KRKX8B2ShAqmrjDJ4quK2nnh d91pbOrZ+YrT0I2JzGvoLo74sHNVxDsN8VJkK36M= 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.19 094/243] dmaengine: coh901318: Remove unused variable Date: Wed, 11 Dec 2019 16:04:16 +0100 Message-Id: <20191211150345.464670208@linuxfoundation.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191211150339.185439726@linuxfoundation.org> References: <20191211150339.185439726@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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;