Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3177370pxu; Sun, 29 Nov 2020 17:57:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJwT686R4m0nfA8gAQw0zVnTJHoVrAYKk4efze38h68bsKvTxRxzn7ZY0I6sDXKOBK+qpN2O X-Received: by 2002:a05:6402:3198:: with SMTP id di24mr3823398edb.203.1606701469884; Sun, 29 Nov 2020 17:57:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606701469; cv=none; d=google.com; s=arc-20160816; b=BYDjUr2qTw6Im7xqJsYhMFB7MqMnKppr/fAu+M5m+zGMz2hNhc3o2VSF9MgoH8GxV0 EQN1/u+lmB0wnOVGXEWRKmt0eYWp9RcHDCA7G0QdN+0pQiXWQ2fDMU2JdjaQT/BBtMhY 2P8baYBhmYSESYGd8l4aOxMLuif180VcoHXSsW2PhwJx1loWXW5eNRhDL22Jml9NTmni qVEBZUbNwISoiIpZGimlNbxvFprhmfq3vWA+oWHImTAwwC22lCvZ5rIbFHAwpSnkGc6T prRqQh3q9xciOLijxRTf/Uy0iIljjvNJU7gouOkLwmbVP7f1PIKAs3iiKDyfbcSx8dpp m1ng== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=LIRO3VMzkG62htekBvUqLKQsW011SjX/iazlTLCDgxw=; b=DPhAeEhm2lp31y7n3feygG1xBgUCCNMni3kvGBOppW5jKMg+SioeTWB1sIy2JZQzYS k1WNAMMuxgTb3wGasjtTn7FueNwuNG7zrX0ShBTY1itby0B3UY34iHCSIXwg8nyZydy3 PyVvsoPcFJ9sek07dg58CDl66f6EkEJ+PpQzcElD5VJIZw58LlZzCW1Ih5rtzlBu0Aj+ JwrbUy54FU/3l1quUJjCFJjS6OshyRkjk8S/+LastpEdDx08LdS3fpbsJTMXucdecTHU iZcn1Joj016R0RG64tip8aLHurc9Dm4eh3DhVJcS3lxJw67qtj+a2meKoFgFdnFsBzHH tw+Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y5si10282718edm.386.2020.11.29.17.57.28; Sun, 29 Nov 2020 17:57:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727433AbgK3Bwu (ORCPT + 99 others); Sun, 29 Nov 2020 20:52:50 -0500 Received: from gloria.sntech.de ([185.11.138.130]:40852 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727185AbgK3Bwt (ORCPT ); Sun, 29 Nov 2020 20:52:49 -0500 Received: from ip5f5aa64a.dynamic.kabel-deutschland.de ([95.90.166.74] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kjYMF-0007OY-AD; Mon, 30 Nov 2020 02:52:03 +0100 From: Heiko Stuebner To: Xu Wang , linux-arm-kernel@lists.infradead.org, mturquette@baylibre.com, linux-rockchip@lists.infradead.org, sboyd@kernel.org, linux-clk@vger.kernel.org Cc: Heiko Stuebner , linux-kernel@vger.kernel.org Subject: Re: [PATCH] clk: rockchip: Remove redundant null check before clk_prepare_enable Date: Mon, 30 Nov 2020 02:51:59 +0100 Message-Id: <160670107988.1055391.13206262718686759521.b4-ty@sntech.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201127090551.50254-1-vulab@iscas.ac.cn> References: <20201127090551.50254-1-vulab@iscas.ac.cn> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 27 Nov 2020 09:05:51 +0000, Xu Wang wrote: > Because clk_prepare_enable() already checked NULL clock parameter, > so the additional check is unnecessary, just remove it. Applied, thanks! [1/1] clk: rockchip: Remove redundant null check before clk_prepare_enable commit: 7f5b57a095f3b9532793d143655e83433bb448af Best regards, -- Heiko Stuebner