Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3297548rdh; Thu, 28 Sep 2023 07:58:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH8DU5vX39XUGOTqa0+0UkeJRVnHrfkmXkrn4K/AHJCJgV12D+PBMArF56FOPb/XPjkGYaR X-Received: by 2002:a9d:694b:0:b0:6b9:cf84:8cdd with SMTP id p11-20020a9d694b000000b006b9cf848cddmr1504975oto.24.1695913130498; Thu, 28 Sep 2023 07:58:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695913130; cv=none; d=google.com; s=arc-20160816; b=hZTbPf2bRpJ9x+NZEgV471ezvcz0/RGLpJOgLizOuTKq/ngCj9JQQxxp0AHrTlH4iC 3vHneFgqn2mABUuRRBTqa6tWXwqMotFBoNaNvnWdz5ZgqfM3nIoMTFw2KoXE7AD2yzC7 FCynbYtG4jr96vtlzHaU1xZSpzjzjDa3peQU/Mi8KwlXrr3E2Gi9dPbqDP3coLbHNew3 7yXsy+DEU7GKNSqL+kTePKg2KmT/4L/qSZHvwp3xaPTviD/6jRuk79j26mJYPHCEdNpG yGR0cnYxRxg6fit2YAQ78K0XchQTbWKRyWiQ8SfbfppDLVBVVOkB0Fff2yqMGNy8w5zK SGmQ== 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=CjECHuf7pw93ad12uCAhT/OHjCBaNbBO0T07qcyHB7w=; fh=f3IsZ0DNAUOYHMRdqBxn1vbq2QOsIUhtiYDvT3QE054=; b=d/9W6U5RdXbZrtxH12xxidWdL+UVkdWltUXJ0atcKjuDTuQ3ow1QMd9gIkY3EPSev2 Dau8X4FjO+1sg2L6c4d8eIOc6mI4QmOCPqHBRXOzNvhOcBC/N45yVkH0KMqdkIST7CgH qujCraHpATlfFSu18fop9TZ/HM2UmN6B+Q/VQ+SHDv1OxeHRsvOKWTkvtS1sG4B5QqNx UlWs/v6OKWdlMD9QoAriVfejwpJMqReAOC5ZSNhDZxXxmeGyN0/6Mq5rq2WuORlLcKMa J3eqczc3Zbn/aQFj9U+jQHbblzaYuHiEXxwGDBZfYpWd0UKVXoaksQRZIyoSgkkgRb3q K62w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZYG51XpL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id k2-20020aa788c2000000b0068e4a646d2csi20555909pff.252.2023.09.28.07.58.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 07:58:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZYG51XpL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id D4F13805D295; Thu, 28 Sep 2023 07:52:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231208AbjI1Ovc (ORCPT + 99 others); Thu, 28 Sep 2023 10:51:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231322AbjI1Ov3 (ORCPT ); Thu, 28 Sep 2023 10:51:29 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D04651AE for ; Thu, 28 Sep 2023 07:51:28 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C585C43397; Thu, 28 Sep 2023 14:51:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695912688; bh=chePX/SYayvnhA9C26rs98NM+t613nF7ydh4AzYC8O8=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=ZYG51XpLTAQxCl3dQmuiHqqV5f1x/wwlk4hp8cdO5uo+sSITeMLwRS+fczhSYAP59 rxoP58+YlzvSjiBFda423UCh/bNTY/EaL2PmSKeNSTrTndEjDoFTxoKPscsMOuQDci 1ev0DhB0dq+0RyvgWKT0jkH42v9XEZXXnyzOcoQWi0+LMKzeU3/6q9J98d2zpvZ67e O/QJX3SAL8ctmlJ95Mj1ctUkykrrglXUhY5i9M5zVZU6fI7phUIUxb1ygzwskuKZH6 P3SSaT6Zd/L/RorkaP1buhIsLBJz+QZX7imkHzBhQUoEoVCv+5a17xIcndUE0qrkSH GPaGJP48Pbcyw== From: Mark Brown To: james.schulman@cirrus.com, Jiapeng Chong Cc: david.rhodes@cirrus.com, rf@opensource.cirrus.com, lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-kernel@vger.kernel.org, Abaci Robot In-Reply-To: <20230928085200.48635-1-jiapeng.chong@linux.alibaba.com> References: <20230928085200.48635-1-jiapeng.chong@linux.alibaba.com> Subject: Re: [PATCH] ASoC: cs42l43: Remove useless else Message-Id: <169591268759.2776105.1120997506461467883.b4-ty@kernel.org> Date: Thu, 28 Sep 2023 16:51:27 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-099c9 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 pete.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 (pete.vger.email [0.0.0.0]); Thu, 28 Sep 2023 07:52:03 -0700 (PDT) On Thu, 28 Sep 2023 16:52:00 +0800, Jiapeng Chong wrote: > The assignment of the else and if branches is the same, so the else > here is redundant, so we remove it. > > ./sound/soc/codecs/cs42l43-sdw.c:35:1-3: WARNING: possible condition with no effect (if == else). > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: cs42l43: Remove useless else commit: 67fcdbfd9e133be69c9541a806f6ccfe594fa9a9 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