Re: [PATCH net-next] net: stmmac: remove redundant null check before clk_disable_unprepare()
From: Jakub Kicinski
Date: Mon Sep 07 2020 - 16:39:01 EST
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@xxxxxxxxxx>
> Signed-off-by: Zhang Changzhong <zhangchangzhong@xxxxxxxxxx>
Applied.