Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp319951pxb; Thu, 19 Nov 2020 01:56:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJzgK6u+NPxjzkyP5oy5A+GcFgWCNuvHow3IipVw5VCoPKG1F1AxuaaF+ub9vkVuDx/2IgHp X-Received: by 2002:a17:906:8282:: with SMTP id h2mr28738732ejx.50.1605779809548; Thu, 19 Nov 2020 01:56:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605779809; cv=none; d=google.com; s=arc-20160816; b=cjpUFnfMByOM/HVgH3l3zUexyWPpYhq9FE7buNIpRpYmKvDCG3k+bmWJqLea3gn4Do ICLzaxyxAScCRk0T2EGUJbOSCF2ZAMkSgDNGvHvGA7xmu44m041ucc/mDBLP9FazOVkX OKfuONhxGlZRbAGRm0izZz3Bjy/2trOnr/0vcnjh0WNV66ZNbULwUciVFHYQ4817JZxu K+leXtnecwvDWRQLL3rG3BRHFzHvpkxvlsGxSpydliljVgDKOncRNZOgGNStb2vU5IAH /YB+KrRmrCF2mGQpiOkE4r9Z2BZa5KV9A/Jvq8pPCJXRE8aLgXvM25ssnBZwurzgLSp5 JfMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=UvvHI2jS8rKxCuQV1VNhJlyhcMA1MhNRDw0kAiCHWQA=; b=yFFmgIjf+uC6ZPJPVQyDRzYwa7wyz91hWJaud0EN1MD2VG31qaYQI9ztZswjM18VEN xQ8/xHCdLkOgo6UsqEceJ/XR+ftbZEpVws24BGdn0X8k1OneoTb/ezTa3bC8IJ+8Jhbc e/FrqAXu8nGDMng/Sr1tDUPwtL4GtJBB/4rG1LxmoG4AlGALAuyOrEXi6IL7CwLT7Bwu osj01p8PKEWCWMVebDTCZc3QslKt5GosbfONmxryh923dPXiLFUPgPfydAtp+ojvD7hQ qgVRAUcwa2wtnkppn4aben4ozRsM1vs2ZOCDr1eIJo5o4f/t13RqsbOT0fbPLNyrIWT1 yMLg== 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 i12si17735969edr.244.2020.11.19.01.56.25; Thu, 19 Nov 2020 01:56: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 S1726824AbgKSJxo (ORCPT + 99 others); Thu, 19 Nov 2020 04:53:44 -0500 Received: from muru.com ([72.249.23.125]:48760 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726503AbgKSJxn (ORCPT ); Thu, 19 Nov 2020 04:53:43 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 8309B80F5; Thu, 19 Nov 2020 09:53:49 +0000 (UTC) Date: Thu, 19 Nov 2020 11:53:39 +0200 From: Tony Lindgren To: Xu Wang Cc: linux@armlinux.org.uk, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: OMAP2+: Remove redundant null check before clk_prepare_enable/clk_disable_unprepare Message-ID: <20201119095339.GM26857@atomide.com> References: <20201104064505.5737-1-vulab@iscas.ac.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201104064505.5737-1-vulab@iscas.ac.cn> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Xu Wang [201104 08:45]: > Because clk_prepare_enable() and clk_disable_unprepare() already checked > NULL clock parameter, so the additional checks are unnecessary, just > remove them. Thanks applying into omap-for-v5.11/soc. Tony