[PATCH net-next] net: fs_enet: remove redundant null check

David Miller davem at davemloft.net
Tue Jul 21 10:42:35 AEST 2020


From: Zhang Changzhong <zhangchangzhong at huawei.com>
Date: Mon, 20 Jul 2020 19:12:33 +0800

> Because clk_prepare_enable and clk_disable_unprepare already
> checked NULL clock parameter, so the additional checks are
> unnecessary, just remove them.
> 
> Signed-off-by: Zhang Changzhong <zhangchangzhong at huawei.com>

Applied.


More information about the Linuxppc-dev mailing list