Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4100911iob; Tue, 17 May 2022 14:04:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwv7UADBE6gxkcw+lCOMfMxNAI4oS67LHMDvBthbY9qH0VBeN8pgrmFSJKSjredSuWBr+sW X-Received: by 2002:a05:6402:50c7:b0:427:c764:9331 with SMTP id h7-20020a05640250c700b00427c7649331mr20620871edb.228.1652821497386; Tue, 17 May 2022 14:04:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652821497; cv=none; d=google.com; s=arc-20160816; b=oySG97pwp1PlAKH/xBJA07BzVyczOuzbVXNIt19U41N5e7hkWD7bwgGEsdeFNSLsU2 RI+OQrL+zMW2cF1s5VIWXUTda/XH3Tymyj66VTHYu+pCywyFFMAslvCl8Pe7vUXK5zOx UDGxASn/eLmfowM4N9OR2wKwPnWwxzPSncd9lbDIc8vddzQCdSic4ysT0RRTNOFh+f1D SXFP8Si0xpn7e5XJBBl1cYdkRZ1jn98DGCQEzUFENiLkRxhqSTpzN9D0AC6op3vQB+ka J6G4SEZndN10XdqcFs5nSQ1OqynGNnrcM3GwTSJItU9RtrmunmCf0VAxrgb5FKGT+OGJ KFNw== 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=005Cq1wFvYS3aEWbca+TxQNtYui1BArspQR2qt7J64I=; b=P3KPR4EIplXa0wJZ6VD3jz7CwG1XsM9kt+ZHimAI/ytZ89SgAXhZM/7JNeycGfXE7H 03XIma9yeh8L2dT/RxX126UVR7AXZzQi6GJyfKjF9y5FFJ2tnH5egc3CExSTir7X1xTW eZBKOfXVgMF+/OpHEtiowppX2dta3EBhzsINNo47Kp8knMj50KuEXAKyOtDjx6n5mzNE GtqCZAGs9Q5PS8tJjIdoho9u4+OphvKs2gfSVxVqpttp/Op/6n84cJZPp0rKwjWnfljm IlOIKafrUhFuBRJr/xsQUSl2WV5VkzHF/Ks8PWID//IR5XlM2aaMVPiDXHR/ht7HWmvj +tYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mLWNjEdr; 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 k26-20020aa7c05a000000b0042ab0eb69bdsi261950edo.401.2022.05.17.14.04.10; Tue, 17 May 2022 14:04:57 -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=mLWNjEdr; 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 S238977AbiEQGqG (ORCPT + 99 others); Tue, 17 May 2022 02:46:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239238AbiEQGqE (ORCPT ); Tue, 17 May 2022 02:46:04 -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 65684205C7; Mon, 16 May 2022 23:46:00 -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 F1BD76147F; Tue, 17 May 2022 06:45:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 53613C385B8; Tue, 17 May 2022 06:45:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652769959; bh=005Cq1wFvYS3aEWbca+TxQNtYui1BArspQR2qt7J64I=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=mLWNjEdrU4oTHgBJBK7baKTFX8Kt5UkODV1Cf3lqIuACyULiVt/xhA17MwMUWF87N 9zSL3rOuDttFBHlqiGlM2SmpGxjEtQF/b2Sb8qMEKUqnzJ3D4EfuEWUpGbf0QiVeOV pokEknhi5Aq65O/xw/1VnD/0jFy9ziccj0paDEyHPSeY6bISXbAYHMwC3eygRs7cMj YmYLBTEzb89QXz7mQAlyTu+tIzjOQwJduEUJbDEBVwkGASM4EYam6AtUbuF6e3jvg7 gj0avql0fElJo6BLDiBcZjkpRQ9zY9Bv/epOTsY/FI1pW6Wq5CYPiCgtoNAFi/BpW1 Jun/6D8tpFuDA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220509092102.140520-1-lizhengyu3@huawei.com> References: <20220509092102.140520-1-lizhengyu3@huawei.com> Subject: Re: [PATCH] clk: fixed-rate: Remove redundant if statement From: Stephen Boyd Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, manivannan.sadhasivam@linaro.org, mturquette@baylibre.com To: Li Zhengyu Date: Mon, 16 May 2022 23:45:57 -0700 User-Agent: alot/0.10 Message-Id: <20220517064559.53613C385B8@smtp.kernel.org> X-Spam-Status: No, score=-7.4 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-05-09 02:21:02) > (np) is always true when (dev || !np) is false, so just remove > the check. >=20 > Signed-off-by: Li Zhengyu > --- Applied to clk-next