Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3084936rdh; Thu, 28 Sep 2023 02:00:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEYq/6Di3a5AprMC67gQl1G00VxmjmsA4Yky6uzys3NxBg5Jn1UlAQ8TXp2TaT4yZvbiBgZ X-Received: by 2002:a05:6a20:158e:b0:159:b4ba:a5bf with SMTP id h14-20020a056a20158e00b00159b4baa5bfmr554888pzj.13.1695891617950; Thu, 28 Sep 2023 02:00:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695891617; cv=none; d=google.com; s=arc-20160816; b=b8ekblF7LcOBSL82CvZ18FmYpYDizs9r4To9TSaErz+9g7+NjPRVcU8pyMhixGG5Rs mOSh/fMoCMMoD41FCNJEV55UuHtT1qAbjfdlxcJ619tR5DadF+0Nn/8i52sVPhvcHKki 8dBkddrpDQyP3s6LcpNr3WiyYDZIX42uc1PTWh2fJY50tPlB5BUoD3atCqaWpd8tYDba /9/V+TlY1abl5AKR9gjzuBXd97uDJzZ5qSfuyFj82wDE0lsEVQN8WPTD6TkgXk61GTKH gEQN3VOp7XRsx7rRCcyY8TqjBtBilrKPQL/86TA4bZcxkiloI6K6KYevTWHEDqhvdrT2 gUbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=fmf7E4P+dNZC9UveMLjyWvKeWz5XnkPtF0Zvjo4B//I=; fh=+cwoZv8oXs7sDUJIG1QAQpiSAFHc3/ZlO6q8sssovfA=; b=pEXbccJxR0XsyfJNEVuBmtz7IOvWuRYskKOkT14PiKX72pDp+wdVOmC0w/fC516Ic5 V6VihARsoU8F1r8vtbNBb+tLkmc6NGJ5qoXpufFomwTpdMP8tQGSKGKBRFdiSNVm/eHd ElvArsfQlt+bxx7Qu6PYDebb50SvIAHMYyvk10FujzBpX7t1axKekEj/Q5Ygp4ltUQig 3OQiBGv3AZ/GM6OacpsUCaiXWnE2oKZSVjAbehsNlHpCR4wEVWygOQmZbAu5r9bLAdU3 CUKoKZY53egH3SGq0BM/ioumMnPaWzFJgQ8dPJ/4Gebu1E1AXLFkMZIUj7ylytE28OUg txEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=rGtMtAYU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id n5-20020a17090a394500b002740f8fa612si13573520pjf.21.2023.09.28.02.00.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 02:00:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=rGtMtAYU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 96AD181F3381; Thu, 28 Sep 2023 01:58:30 -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 S231441AbjI1I6C (ORCPT + 99 others); Thu, 28 Sep 2023 04:58:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231467AbjI1I57 (ORCPT ); Thu, 28 Sep 2023 04:57:59 -0400 Received: from mx0b-001ae601.pphosted.com (mx0b-001ae601.pphosted.com [67.231.152.168]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 665DDAC for ; Thu, 28 Sep 2023 01:57:57 -0700 (PDT) Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 38S5dcWb014061; Thu, 28 Sep 2023 03:57:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=PODMain02222019; bh=fmf7E4P+dNZC9Uv eMLjyWvKeWz5XnkPtF0Zvjo4B//I=; b=rGtMtAYUz1S8OuhMKPljDwQxy0TFr90 okxzBbswvkrc1j36UyyyZAbNfaXmjDWrlSNWG9DKcsNObg7wCg6eD4RI286C8/Vp oGQgNjiOSm7MaGG12yWeDrdje/hC+ZU+0qo5eQP1bFBzyDV92FtTpSwdISEmOThv zNHCXiOiQKy3pTQfY41Kjcvra9EEPqFL88Bs/BQJkFyO38xXBuxkLl5CwCSnJ3pr B61y1/eBJ038BVBDBa6x/G+ft4W0RXSzq1HPxPve3eo+rkWubEvYb2uz484U+XHl TpCw7a9oD5zO94EIc2DMqagUqn1bDymC3cx9ZFlK3jPHV+4TxCS6+Nw== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0b-001ae601.pphosted.com (PPS) with ESMTPS id 3t9vejdubs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 28 Sep 2023 03:57:27 -0500 (CDT) Received: from ediex02.ad.cirrus.com (198.61.84.81) by ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.37; Thu, 28 Sep 2023 09:57:25 +0100 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by anon-ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server id 15.2.1118.37 via Frontend Transport; Thu, 28 Sep 2023 09:57:25 +0100 Received: from ediswmail.ad.cirrus.com (ediswmail.ad.cirrus.com [198.61.86.93]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 861033561; Thu, 28 Sep 2023 08:57:25 +0000 (UTC) Date: Thu, 28 Sep 2023 08:57:25 +0000 From: Charles Keepax To: Jiapeng Chong CC: , , , , , , , , , , Abaci Robot Subject: Re: [PATCH] ASoC: cs42l43: Remove useless else Message-ID: <20230928085725.GL103419@ediswmail.ad.cirrus.com> References: <20230928085200.48635-1-jiapeng.chong@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230928085200.48635-1-jiapeng.chong@linux.alibaba.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-GUID: aOvJ5rKary-NUFxN2XQMKnI-OXJ5d3aC X-Proofpoint-ORIG-GUID: aOvJ5rKary-NUFxN2XQMKnI-OXJ5d3aC X-Proofpoint-Spam-Reason: safe X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,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 01:58:30 -0700 (PDT) On Thu, Sep 28, 2023 at 04:52:00PM +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). > > Reported-by: Abaci Robot > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6712 > Signed-off-by: Jiapeng Chong > --- Acked-by: Charles Keepax Thanks, Charles