Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1745368iog; Tue, 14 Jun 2022 12:19:08 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vM3LS5R4jyOEekrdrZmOXcjKDriY1dH1+j6XQxSUFUYiH/NbsrQbRap9Uedrd42puWFVQB X-Received: by 2002:a05:6402:27c8:b0:42e:2e43:86ae with SMTP id c8-20020a05640227c800b0042e2e4386aemr8114372ede.427.1655234347763; Tue, 14 Jun 2022 12:19:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655234347; cv=none; d=google.com; s=arc-20160816; b=IMaVdKOFVcY38vMJo7/Ru2/4p6L8WBQgSiVJ95p6lULhuIsQUVY4n9B5oXLSkrzDdA StQqrhn7NWeTbR1YI5WoJj06wVb/5mVE8P6UJNawU+NV7MDM3vLTFKt466oa+B83xLBq uucJ4B/bTVJvJTpXHuk6bPev4YS8urO/Jq9Xiizgj6/OyC5cLfAtNHrxuoAiLZ3LxoM8 dCwCVwqht8tk4HDgqUxnWBxASKmh1PXLGIXIUISU1L7f3MfcGMo7PwReib/lkzQWVSaE tTDsIta0Ei2UJNEDOlLVSYHTEB8NYw2fSl+L5BLEu3ekeKtW9p4fmCOaOpfB21ds7WHI cH5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=6hbdX0woT8V0SmoPGKiyf3mxXcYsvphTWfMcAMjl43Q=; b=cPa1aShFl+8UIM6EYtbmObNi7zz46dPiDjynRPlwmnqekEMwakpcuzCQrg6MH1sWbv eqE9+C6A+spzhQZJgMFdgLcMOUZFyEo7NYCtd9duy5wtWE+seF2XSRP1R7vkxgzqqILN tC1eK9JYNY/lqAcYzt9mi/DeokZ6XZCAZcsNnuxSiySJYCjY/w2uic4mpbU5fW1DqkP0 Ib98nhST9byxcf0tR3Pj61U2nKCMgyrgwxYtrzwOte5hXfY/t9P15J0gNgADJW9aEJBu ThHItHQ4aQIsH16sjYqxlYTh7eMhzaGAJgXREdWY8bkxmqd63XvZLK70koptaMvbgD6x qYuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aqvqshr6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jg7-20020a170907970700b006fe98e19840si14997107ejc.733.2022.06.14.12.18.40; Tue, 14 Jun 2022 12:19:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aqvqshr6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S240869AbiFNTP6 (ORCPT + 99 others); Tue, 14 Jun 2022 15:15:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344784AbiFNTPz (ORCPT ); Tue, 14 Jun 2022 15:15:55 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3239764E; Tue, 14 Jun 2022 12:15:54 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 700E160A75; Tue, 14 Jun 2022 19:15:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CAD49C3411B; Tue, 14 Jun 2022 19:15:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655234153; bh=6hbdX0woT8V0SmoPGKiyf3mxXcYsvphTWfMcAMjl43Q=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=aqvqshr66xDqYRSEtNNm7zLiKChU1xH9iKqGyCCVjEOD1/jahmYP6xVVQ9uCZ3KLE p9jArETIGRcEw3jCqpqQkYt5qOBsdvLhiUVr3FaSqREyqPGCUvLOfUZCTM2hPj6Luu l9UBAzIjbPapadYDDO61Ubvsc4E48RUb0dctLKGALUD02bFL0dHVljnAkfAb2IpEHr jSCpsU40+jrF2InbQKugDeflkQ+wanigH4Idaz2t55UAF0y1crB/jVEbScV943YIrU K61qIWHFuprdTSprG8BY77aVF+b5azATeBX2iR4ZFb6FX0wwSTNRNvxRQXpHVZxu/4 9F2LiQDsrJwYw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220613063327.89320-1-lizhengyu3@huawei.com> References: <20220613063327.89320-1-lizhengyu3@huawei.com> Subject: Re: [PATCH] clk: qcom: clk-rpmh: Remove redundant if statement From: Stephen Boyd Cc: agross@kernel.org, bjorn.andersson@linaro.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org To: Li Zhengyu , quic_tdas@quicinc.com Date: Tue, 14 Jun 2022 12:15:51 -0700 User-Agent: alot/0.10 Message-Id: <20220614191553.CAD49C3411B@smtp.kernel.org> X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Li Zhengyu (2022-06-12 23:33:27) > By the clk framework already reference counts prepare/unprepare, > this if statement should be never true. >=20 > Signed-off-by: Li Zhengyu > --- Reviewed-by: Stephen Boyd