[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200720.174235.1824498431341082622.davem@davemloft.net>
Date: Mon, 20 Jul 2020 17:42:35 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: zhangchangzhong@...wei.com
Cc: pantelis.antoniou@...il.com, kuba@...nel.org,
linuxppc-dev@...ts.ozlabs.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] net: fs_enet: remove redundant null check
From: Zhang Changzhong <zhangchangzhong@...wei.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@...wei.com>
Applied.
Powered by blists - more mailing lists