On Mon, 7 Sep 2020 13:14:05 +0000 Radhey Shyam Pandey wrote:
> > From: Zhang Changzhong <zhangchangzh...@huawei.com>
> > Sent: Monday, September 7, 2020 6:32 PM
> > To: Radhey Shyam Pandey <radh...@xilinx.com>; da...@davemloft.net;
> > k...@kernel.org; Michal Simek <mich...@xilinx.com>
> > Cc: netdev@vger.kernel.org; linux-ker...@vger.kernel.org
> > Subject: [PATCH net-next] net: xilinx: remove redundant null check before
> > clk_disable_unprepare()
> > 
> > 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 <hul...@huawei.com>
> > Signed-off-by: Zhang Changzhong <zhangchangzh...@huawei.com>  
> 
> Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pan...@xilinx.com>

Applied, thanks!

Reply via email to