diff options
author | Zhang Changzhong <zhangchangzhong@huawei.com> | 2020-09-07 15:57:24 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-09-07 23:34:33 +0300 |
commit | 1c35cc9cf6a0e2c4ade22385a89d07d1d9006620 (patch) | |
tree | 0ecba5b51bcf22be3edc6ff506e086ec785a68a0 /lib/raid6 | |
parent | e50fd9b5794d68c6814114b3c575069bcdbcb409 (diff) | |
download | linux-1c35cc9cf6a0e2c4ade22385a89d07d1d9006620.tar.xz |
net: stmmac: remove redundant null check before clk_disable_unprepare()
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@huawei.com>
Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/raid6')
0 files changed, 0 insertions, 0 deletions