Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1814948pxb; Sat, 23 Jan 2021 06:31:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJyPAeq0RKQ2ic7vDgFesF5RC6GBkroyYeAAtyv8Cu4TXG+fqo8+4mRD3BpOkKSs/ceLDPgT X-Received: by 2002:a17:907:b01:: with SMTP id h1mr6046753ejl.450.1611412279006; Sat, 23 Jan 2021 06:31:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611412278; cv=none; d=google.com; s=arc-20160816; b=qK1To1fSGON+84CUQHChwpS0g3A5IiKf0ovW1ic8laP/keapfFWz0oq7vnC6CpcyQH gi2XJpXm++J9qL0VhynqRIxY8jCpfwdUDzEvtLfeqD8+oe0LSsc/w4Rhzkhc3FOgo1mG qd7lDmRgEv6Ulv3wTKAOVIUf/N3/0U/WJ3Av+dpyOG0A/mAr5gCTLsvaoR6z66ff/vMS FYp5LNr6+uW77CcQxuDC1ZY1/Sacy5/d6EgIrbo+3XDUocWesKdDujnInHcE13c6+lf+ bGE9mx6MmuqS1WEd7mw6rowaqwWhby/NlvY14gtNmuDAfoS2RvDlIPdcUBV1tsaZ9JnO ueSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=DYi8Ym7pbRix9IdF74Kn30COwy0OWD1IIex+cVYLxFg=; b=uI6P901cxVlONKnupjRdg2vjQ8ZylxtqCIp8gNGH1/e8URiuYmeo5VFGPysLMSDHsd llNYrrv3iOInB3RyNbDZa4Zqu0RSI33bgvPid7XndzdEGrQvswp38mowjP2NzHkk7m+q 7s8ert+QlSx5gzeTU1pptIXSyNY2E2ikekJrXENSzPZC5ygtw6ZLeHo/NGZf2lpKvsVr IUTKtscf7/NrYUHcnUsFw6BQD6ideKdg8WbvYeM9+AGVQZCfcOBWxYVC3j1XukbfBOC+ a8ttkBFUNTLHNcXX+iNVmj6t7xW1M131tVE3vVQgW987r1tbUWToTPeZ8VcJLmvZm5kD YpTg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cc6si881709edb.369.2021.01.23.06.30.56; Sat, 23 Jan 2021 06:31:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726053AbhAWO1t (ORCPT + 99 others); Sat, 23 Jan 2021 09:27:49 -0500 Received: from aposti.net ([89.234.176.197]:33810 "EHLO aposti.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725972AbhAWO1m (ORCPT ); Sat, 23 Jan 2021 09:27:42 -0500 From: Paul Cercueil To: Bin Liu , Greg Kroah-Hartman Cc: Tony Lindgren , od@zcrc.me, linux-mips@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Cercueil Subject: [RE-RESEND PATCH 3/4] usb: musb: dma: Remove unused variable Date: Sat, 23 Jan 2021 14:25:01 +0000 Message-Id: <20210123142502.16980-3-paul@crapouillou.net> In-Reply-To: <20210123142502.16980-1-paul@crapouillou.net> References: <20210123142502.16980-1-paul@crapouillou.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove unused-but-set devctl variable. Signed-off-by: Paul Cercueil --- drivers/usb/musb/musbhsdma.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/usb/musb/musbhsdma.c b/drivers/usb/musb/musbhsdma.c index 0aacfc8be5a1..7acd1635850d 100644 --- a/drivers/usb/musb/musbhsdma.c +++ b/drivers/usb/musb/musbhsdma.c @@ -321,8 +321,6 @@ irqreturn_t dma_controller_irq(int irq, void *private_data) musb_channel->channel.status = MUSB_DMA_STATUS_BUS_ABORT; } else { - u8 devctl; - addr = musb_read_hsdma_addr(mbase, bchannel); channel->actual_len = addr @@ -336,8 +334,6 @@ irqreturn_t dma_controller_irq(int irq, void *private_data) < musb_channel->len) ? "=> reconfig 0" : "=> complete"); - devctl = musb_readb(mbase, MUSB_DEVCTL); - channel->status = MUSB_DMA_STATUS_FREE; /* completed */ -- 2.29.2