diff options
author | Zhang Changzhong <zhangchangzhong@huawei.com> | 2020-07-20 19:12:33 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-20 17:42:17 -0700 |
commit | cebd2cac905e5a665bc992c7725f98bf6cd4a21d (patch) | |
tree | c0a69bfb343d7d0ec57b4d095cfc61a709abf85e /lib/string.c | |
parent | 87c831ce8e51cad98300fe98f59e26e404720217 (diff) | |
download | linux-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/string.c')
0 files changed, 0 insertions, 0 deletions