[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200907133842.762cb362@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Mon, 7 Sep 2020 13:38:42 -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>, <shawnguo@...nel.org>,
<s.hauer@...gutronix.de>, <netdev@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH net-next] net: ethernet: dwmac: remove redundant null
check before clk_disable_unprepare()
On Mon, 7 Sep 2020 20:46:54 +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