[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200907133852.1f7fa645@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Mon, 7 Sep 2020 13:38:52 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Zhang Changzhong <zhangchangzhong@...wei.com>
Cc: <peppe.cavallaro@...com>, <alexandre.torgue@...com>,
<joabreu@...opsys.com>, <davem@...emloft.net>,
<mcoquelin.stm32@...il.com>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH net-next] net: stmmac: remove redundant null check
before clk_disable_unprepare()
On Mon, 7 Sep 2020 20:57:24 +0800 Zhang Changzhong wrote:
> Because clk_prepare_enable() and clk_disable_unprepare() already checked
> NULL clock parameter, so the additional checks are unnecessary, just
> remove them.
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Zhang Changzhong <zhangchangzhong@...wei.com>
Applied.
Powered by blists - more mailing lists