Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3948630ybx; Mon, 4 Nov 2019 05:28:59 -0800 (PST) X-Google-Smtp-Source: APXvYqzM5SnHwKwpUljYAV6IjEOmsc0w6KnbyrE5Sj6o7pyXOzRS+B6RuQ9gyK7ghtQmMOw2TfUB X-Received: by 2002:a05:6402:1a34:: with SMTP id be20mr11468188edb.221.1572874139009; Mon, 04 Nov 2019 05:28:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572874139; cv=none; d=google.com; s=arc-20160816; b=X47TT2oGIbSdUocuaTttL4vtw1MPbUbqI5i9ebLCVTWRUZZF1sQnWsWGgLz37ZZkUm DIZdGIJaRD0O42x5H/e5voDTSM1U0kO7pij/kILknZB+FTll4m/6cgWAmyyQjX8/bJni nGS5uzPpr9ZTbcHVgewb3bV2l81XTp+YpD1eNirySESPm95qrkMuaBsN4uLp6NQOQOpk AgHEWDg96bCnrekg3vQqcLf+YdRaZ05CZDFNZelquOubX1QL/HPCfwV9aoM4DLdz65RW BddoBDX9z2x/Z60pWcbgTgdeODg36hhLZE7EluBV1sc0jHt7vA/1T0sCNcY9tgvIhwZN 4Low== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature; bh=KjOFqC3LpLokCguUrWPascEa+8RC7whRG2pGwXHTHq8=; b=LcHj4rAt8x6qWf64hMuiHK6G9nu4gDHWo/t6JPvgRwGstvq66/j1YuW6cJoydsLep+ GCqcHwUQ1AXcRsDnG1VMbGCAx2lTuWu/zJsbGzk8ET/qMBG5f6Jco/zJNxFezBMSUgKu Nzh9C6UX2xexMiSGzGeXokN52Rw8pe3m2fMrziYouhTNYVMQp/dFH0s/9XX6Hb76MjMn X/GZuJnVL22lSFPOr4gtOYraokjl8bX43mRcYBV2u2UOM8IkQcuI8IWA9GhdMf8kcdfp 2azTIRrGC9kQlsv/vha6XFtGmCFB//YFJ/5ncK+rHpnAXqxDJEju3BJowPIDfy4LkSQj 1qZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=QPIbZUhy; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h12si12064504ejd.17.2019.11.04.05.28.35; Mon, 04 Nov 2019 05:28:58 -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=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=QPIbZUhy; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729368AbfKDN12 (ORCPT + 99 others); Mon, 4 Nov 2019 08:27:28 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:58156 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727236AbfKDN11 (ORCPT ); Mon, 4 Nov 2019 08:27:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=KjOFqC3LpLokCguUrWPascEa+8RC7whRG2pGwXHTHq8=; b=QPIbZUhyhI8A hrhMyqH9Y8uKjJ/GSa9AjVML7+vOEkULPQx7aokJ7+nONV3KEgTvrqgm0Dw3Yp/Q3aGZ74oBcHZzJ Y74BuMWwYT6zDR8a/HcI8vRV4Tb9pSWPgP7woVOkON65WkPn554k0tbYVltxUtr7OQBptg4KZdVE8 +P1i8=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=ypsilon.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iRcO2-0002f4-Vb; Mon, 04 Nov 2019 13:27:15 +0000 Received: by ypsilon.sirena.org.uk (Postfix, from userid 1000) id 64AE3274301E; Mon, 4 Nov 2019 13:27:14 +0000 (GMT) From: Mark Brown To: zhong jiang Cc: alsa-devel@alsa-project.org, broonie@kernel.org, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, Mark Brown , perex@perex.cz, tiwai@suse.com, zhongjiang@huawei.com Subject: Applied "ASoC: ux500: Remove redundant variable "status"" to the asoc tree In-Reply-To: <1572528855-25990-1-git-send-email-zhongjiang@huawei.com> X-Patchwork-Hint: ignore Message-Id: <20191104132714.64AE3274301E@ypsilon.sirena.org.uk> Date: Mon, 4 Nov 2019 13:27:14 +0000 (GMT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: ux500: Remove redundant variable "status" has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From e0859710516c98b189879966b48ea1c77e0cd979 Mon Sep 17 00:00:00 2001 From: zhong jiang Date: Thu, 31 Oct 2019 21:34:15 +0800 Subject: [PATCH] ASoC: ux500: Remove redundant variable "status" local variable "status" is not used. hence it is safe to remove and just return 0. Signed-off-by: zhong jiang Link: https://lore.kernel.org/r/1572528855-25990-1-git-send-email-zhongjiang@huawei.com Signed-off-by: Mark Brown --- sound/soc/ux500/ux500_msp_i2s.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/soc/ux500/ux500_msp_i2s.c b/sound/soc/ux500/ux500_msp_i2s.c index a90e0d7f0b73..394d8b2a4a16 100644 --- a/sound/soc/ux500/ux500_msp_i2s.c +++ b/sound/soc/ux500/ux500_msp_i2s.c @@ -533,7 +533,6 @@ static void disable_msp_tx(struct ux500_msp *msp) static int disable_msp(struct ux500_msp *msp, unsigned int dir) { u32 reg_val_GCR; - int status = 0; unsigned int disable_tx, disable_rx; reg_val_GCR = readl(msp->registers + MSP_GCR); @@ -566,7 +565,7 @@ static int disable_msp(struct ux500_msp *msp, unsigned int dir) else if (disable_rx) disable_msp_rx(msp); - return status; + return 0; } int ux500_msp_i2s_trigger(struct ux500_msp *msp, int cmd, int direction) -- 2.20.1