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

From: Jakub Kicinski
Date: Mon Sep 07 2020 - 16:38:53 EST


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

Applied.