summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorZhang Changzhong <zhangchangzhong@huawei.com>2020-07-20 19:12:33 +0800
committerDavid S. Miller <davem@davemloft.net>2020-07-20 17:42:17 -0700
commitcebd2cac905e5a665bc992c7725f98bf6cd4a21d (patch)
treec0a69bfb343d7d0ec57b4d095cfc61a709abf85e /lib
parent87c831ce8e51cad98300fe98f59e26e404720217 (diff)
downloadlinux-stable-cebd2cac905e5a665bc992c7725f98bf6cd4a21d.tar.gz
linux-stable-cebd2cac905e5a665bc992c7725f98bf6cd4a21d.tar.bz2
linux-stable-cebd2cac905e5a665bc992c7725f98bf6cd4a21d.zip
net: fs_enet: remove redundant null check
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@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions