Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2087305rda; Tue, 24 Oct 2023 11:53:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGRwnsC5qaMeDkCFPPXD58FfLo6Fwk4wAICGdH+e8H3FAh60BnzMmOOg6bYtX+Ilc9QRfga X-Received: by 2002:a17:90a:df16:b0:277:422d:3a0f with SMTP id gp22-20020a17090adf1600b00277422d3a0fmr16803812pjb.17.1698173626296; Tue, 24 Oct 2023 11:53:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698173626; cv=none; d=google.com; s=arc-20160816; b=Tbjwbe5yccdqwcelmxfJ54w1j9Y/JeZyN8rDr0s0sZGb40RsBBvtgcFSjDBxBdkEFY +RVe6SD2gLzuuDrKhETkNrWcTilERg1qY0+qw33X06zFtJmKIRhD+kdGJuqPKfp2Vsj/ fhYZDCy4b9mbd5cuVHttHRsIb9oKaelcRNnifZ1r4do/1efnoUoP00efjm6gmJ30TJ3b pvsczVpq06rc3LmxpyoXl47bHtvQGx6F8I0CAtpAWac8+Utd+fpwtXGG89hoPoGUz3K0 K1NjYlSPwTj2VR7LbPNvn0rbpbiQ/FtLMw84uKnH1O6uU8Dfdc0krjgEXVxt/jqkv/l6 wlLQ== 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:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=3EH8h8UW3wSLaE/ooSWuiIRsH9DQPCgF6XMYN895frw=; fh=p+g09oTcKxpDOJGQfbClXqOAi3+m3K0mpfLg6Zq9NV0=; b=O/FgzPManeqShnSNftuaAApdWQfyYrwiScHsFerQRxLrhDYAM4jHuwZRZQ77ocvX7k Sexm+7C0XVAxJAYVCj9P1pUqhRT4OjwjAmnMcUSJO6QT3y6UcvOA7NWoOHNChR+YfTNr SSrRp6EzTpgns34H5676mZnZ8GyYY/C2WAZNyDRH85iDBV2QtYKywUHh6X8lrQRBHlRV xyVvn5HpuSb+ch9xJpwiGEGnk8O5lp2sMl86LT2ZGfA9/tV1bSg6NUq3VcDgJZ965qWh Ekluh+ldJPqZLbkgHzX8Zx8GI8KAu8qYLV8culsttexEW3EVJeAZcNVYXCIkkrat+7+w d+ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RBUDhfwN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id na8-20020a17090b4c0800b0027728f01512si9040073pjb.167.2023.10.24.11.53.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 11:53:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RBUDhfwN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id A6D8E802176D; Tue, 24 Oct 2023 11:53:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344187AbjJXSxg (ORCPT + 99 others); Tue, 24 Oct 2023 14:53:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344164AbjJXSxd (ORCPT ); Tue, 24 Oct 2023 14:53:33 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E016A1B3; Tue, 24 Oct 2023 11:53:30 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E79C4C433C9; Tue, 24 Oct 2023 18:53:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698173610; bh=3tIsULG9clFoEJihk8khIpm9lSY2diH297dFAOUkrp0=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=RBUDhfwN9muAxF9xHPSrmeWIBOMABgsoM5bUwNFdPaoV/H2b1RQNoQC94B2nLzDPH iiiyrSuMI3AoktCE5eXXlRiJfT0LYydLAygxJV7W1maa0ekfiYHVQIOgz/cRLIh02G 1uweraEHM8DADam8IiLpeeNOvxvl9vyx+NLTtSHoDnY0V3BnMQ8Eo9V/pxWNef1s8D GQMud0ALBpvyxnytlpzWWDZjLOAFN1lrrI4YkWx4jGcmdtoiE8gkp29Ynsrh50gRLd dd/zzcVNeYQWPK5wXeqpeBrrg2/ikkfTPjrpnwAx8r3BRpW+eiX2LwFqIknxJ7bSdq hC25blxVAMseQ== From: Mark Brown To: Oder Chiou , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, Colin Ian King Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20231023154917.671595-1-colin.i.king@gmail.com> References: <20231023154917.671595-1-colin.i.king@gmail.com> Subject: Re: [PATCH][next] ASoC: codecs: rt298: remove redundant assignment to d_len_code Message-Id: <169817360865.82257.4197167510702272746.b4-ty@kernel.org> Date: Tue, 24 Oct 2023 19:53:28 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-0438c X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 24 Oct 2023 11:53:43 -0700 (PDT) On Mon, 23 Oct 2023 16:49:17 +0100, Colin Ian King wrote: > Variable d_len_code is being initialized to zero and then re-assigned a > different value in all the valid cases in the following switch statement. > The only place it is not being assigned a value is on the return for > a default case and in this case it does not need to be assigned. The > initialization is redundant and can be removed. > > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: codecs: rt298: remove redundant assignment to d_len_code commit: 91e174fc04b1975b0e4d431a7020779635ff7c05 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