Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3317122pxj; Tue, 11 May 2021 01:30:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqpAvXtIsiszyUkSme/y2UQBrsOiHXqBBTZm+Fka5zlAOikN2S7bmP3xq8NpEHgFM1GJT9 X-Received: by 2002:a02:1989:: with SMTP id b131mr25701807jab.54.1620721817235; Tue, 11 May 2021 01:30:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620721817; cv=none; d=google.com; s=arc-20160816; b=g9u8lg/jsNZjKLuNr9EzibCGwPUVAV4MdtyBcXmeLOBdj9LqAhYjKfRpun3fDpN00z OMoOUHHFDugl5cvK9U3pB/4fMINxxcmkZb05wvAuOj48v9m7xVrBiqfRLOGxjRKuyoV3 HpUSlssH1jHBMOGOw3ebKdPxXkZ4kemY1zPvHQpHSiT4BbzH3kYXBKykhQgJ4kETN8th k+4EnKnZTMDRfLcAD0fz2NalChX+qKoZkishzByOGRZPwpQYYvhPkzOEc49xur28leOp p41yKjTeimytqy87z4pEUg+srZP9ynW/xD+3WAQ3w6BiBi3qedBJutviQOR78fOoAiNz CS2w== 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 :dkim-signature; bh=bgeMv0sXI9rkC3ShOV/8Qu681WoFWeAE+nE0nbb+IFc=; b=mNh+YXXTgYagj5IB+gNhQZry+L5I2HUjGRC2LqoYuZHVDGgxoacirS2m/TS94oXh11 7bANpxo3HyHDfs4NrTx03Hol5tuoyFEhEgCHylas3Ag7o0/5SQMxBFvVflEoFUWsaI90 g1sth4q0LxE4EwiBMZTSq/8tp7F7J5wBWpNH3xbS2hOMYTr0mHekWjxABSoFO0rGPQTu N5P3jpMXxq+Fu6mq8Mw31BV0yKxORDXoA2WCAylCjWUO1vz8NY/OcwoflPODAmjBAGjj H3VZcN96xLjMLcCkL8KvFumUfdHmT8i/zguFB7IxFAy/FHhbTkQPcqWSRWAoSjGWyXAN atMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=U5xIm9DM; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y7si19894917jap.0.2021.05.11.01.30.05; Tue, 11 May 2021 01:30:17 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=U5xIm9DM; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231204AbhEKI2g (ORCPT + 99 others); Tue, 11 May 2021 04:28:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:36844 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230480AbhEKI23 (ORCPT ); Tue, 11 May 2021 04:28:29 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E2C1B613C3; Tue, 11 May 2021 08:27:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620721643; bh=yX814QtGmlEUeWuzc2cmSHioA1C9NjdHxkqLmgy5cKU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=U5xIm9DM+030Fdr83Joy1qxFGvwXpAS2hTP40CQ1fNfYNNJGMxOAtyonkC1a3Iw/v eiTD0DIoy+H35+TeCSwENki8WroQChFQxRHnlVsnjZW3SQGbZoQr4+Z5K64LuYyPGM ndKgFUA7Pzahh3UJRC8dIcbtE3d2Eu2ZuIEHu26TsAHBgXG12XhvRZrwV9HY+nsVyP MlcgjnIlKf72qGar8T2bn9e+OaCEVQxn/Dr7LmaX+j+0HUzzx+VQZhoehfAmHY/gKA 0PVxt8chNbeds9nGtU4By/c10hv5tSHq9EzwvqDIg5IKByjqyS2y8f4bVNVauXL4lx N7yXjfvtlBJAw== From: Mark Brown To: Jiapeng Chong , oder_chiou@realtek.com Cc: Mark Brown , lgirdwood@gmail.com, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, tiwai@suse.com Subject: Re: [PATCH] ASoC: rt286: Remove redundant assignment to d_len_code Date: Tue, 11 May 2021 09:25:43 +0100 Message-Id: <162072058170.33157.14418303282464363989.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <1620298735-31708-1-git-send-email-jiapeng.chong@linux.alibaba.com> References: <1620298735-31708-1-git-send-email-jiapeng.chong@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 6 May 2021 18:58:55 +0800, Jiapeng Chong wrote: > Variable d_len_code is set to zero, but this value is never read as > it is overwritten or not used later on, hence it is a redundant > assignment and can be removed. > > Clean up the following clang-analyzer warning: > > sound/soc/codecs/rt286.c:728:2: warning: Value stored to 'd_len_code' is > never read [clang-analyzer-deadcode.DeadStores]. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: rt286: Remove redundant assignment to d_len_code commit: 1d122dd3b168f55e2e29982cff80f1c15f66ef26 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