Re: [PATCH net-next] net: pxa168_eth: remove redundant null check before clk_disable_unprepare()

From: David Miller
Date: Wed Sep 09 2020 - 17:18:15 EST


From: Zhang Changzhong <zhangchangzhong@xxxxxxxxxx>
Date: Wed, 9 Sep 2020 22:06:37 +0800

> 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@xxxxxxxxxx>
> Signed-off-by: Zhang Changzhong <zhangchangzhong@xxxxxxxxxx>

Applied.