diff options
| author | Zhang Changzhong <zhangchangzhong@huawei.com> | 2020-09-07 21:02:03 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2020-09-07 13:34:14 -0700 |
| commit | e50fd9b5794d68c6814114b3c575069bcdbcb409 (patch) | |
| tree | f7b5de3c775ed98d591c8ed1495378eba619d9ce /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 6af52ae2ed14a6bc756d5606b29097dfd76740b8 (diff) | |
net: xilinx: 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>
Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
