Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1850598pxu; Fri, 27 Nov 2020 17:32:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJy+xxuU/6Y43PQUTf3xJgqVD5SbCPGGxaZudwzcPgKkGOeZcebqOT2LvxFMotHFpputiUzn X-Received: by 2002:a17:906:60d2:: with SMTP id f18mr9647251ejk.528.1606527172609; Fri, 27 Nov 2020 17:32:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606527172; cv=none; d=google.com; s=arc-20160816; b=XicFrta4z4NAul+lUdZVS+NOyXi8pJFfRUSxqNg8A/+oS2Iz/f9yi/hgGBMHBEAC+f Di0iPVqarnhYP8BXwg5HNCg9hNKgSEdHgMC5nz0ev6qbf+y6J300+SnZaC6Q1Lhc8jjk C0nNXQCAX7J54MirHUuaIYsLnO7HB9vOPkdPLd2LperYHGAc/MCDicRbPCMHqfCE2zT8 10nacH7CxZL7jV0Lez7fnipoXj5CjkXjSVLjV6xlR48XQzys0swvTNgViyXYRx+B3klL W9F+0nwlhSoVFz4iFUE/asRiT5SlGzh2WOJiAWS48hKYS7eXwprTaLKn/eosw+BT51Cn mcvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=hD40k2v78JS8MUejTYj7Rnup4W4KIqn/L63Q/BBpWx0=; b=ASeQ80bTxi3Riulb31xEMpossKSmy8o1bCb//v54UBcRAjoZUWDtNWt52ZdaHfS0aS 1/p2j/C/qkyd4ETGh4RnFM+TUm9L62RnblUxMcPrTdcb50TofVaDtwzXnDS4fenzoiqI 0wz+6ErpM4vIjSZiP65m2C6V8F2Mz29QLEhoZ4KGYsKW6k3d4amJgaSLiWHjIVrPb1hl /xx9S8nyok5vNuYBkIw8QUDJvCoBL5wEFK+AZkZIyTOqXsM4ED8CMvixGHk3u4G2o3Dp cwpn0bazwAcvL0mhAjyN+bJg/YCixQ9hc55wP5erR/Ev4TD1ygzKSHZPrOJhdV1K5eqp 9eYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bppiD1tl; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o21si3656019ejc.176.2020.11.27.17.32.30; Fri, 27 Nov 2020 17:32:52 -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; dkim=pass header.i=@kernel.org header.s=default header.b=bppiD1tl; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731171AbgK0T7j (ORCPT + 99 others); Fri, 27 Nov 2020 14:59:39 -0500 Received: from mail.kernel.org ([198.145.29.99]:35050 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730653AbgK0T5J (ORCPT ); Fri, 27 Nov 2020 14:57:09 -0500 Received: from kernel.org (unknown [104.132.1.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8D9F9208B3; Fri, 27 Nov 2020 19:56:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606507008; bh=hD40k2v78JS8MUejTYj7Rnup4W4KIqn/L63Q/BBpWx0=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=bppiD1tl2IfBfd/S0pS5kJoI93oBhxGkdXrQ/F4bUT0hr5RkAqGvm52w3yYnlzMVQ u/PqofDiI2tV0gN2fSoYn2RgEFEqXsqWrgorEakjRjhld+mr5LLjyyV7PIRrrdPZKC JnH3U8NAVSA34TzND4TC0oT48JAF5Q9NdqypK3OE= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20201127090551.50254-1-vulab@iscas.ac.cn> References: <20201127090551.50254-1-vulab@iscas.ac.cn> Subject: Re: [PATCH] clk: rockchip: Remove redundant null check before clk_prepare_enable From: Stephen Boyd Cc: linux-kernel@vger.kernel.org To: Xu Wang , heiko@sntech.de, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-rockchip@lists.infradead.org, mturquette@baylibre.com Date: Fri, 27 Nov 2020 11:56:47 -0800 Message-ID: <160650700726.2717324.52988673805116278@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Xu Wang (2020-11-27 01:05:51) > Because clk_prepare_enable() already checked NULL clock parameter, > so the additional check is unnecessary, just remove it. >=20 > Signed-off-by: Xu Wang > --- Acked-by: Stephen Boyd