diff options
author | Chen Ni <nichen@iscas.ac.cn> | 2025-03-13 11:44:19 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2025-03-16 13:00:32 +0300 |
commit | ad3746700ae238a96a9a4244d02a2e8eb00f157e (patch) | |
tree | 0f4e80f29cd0a2e87c6903c0b87edc811c4b8a52 /tools/perf/scripts/python/syscall-counts.py | |
parent | c40524d1615a72548adc30dbfb15c981fd03dacb (diff) | |
download | linux-ad3746700ae238a96a9a4244d02a2e8eb00f157e.tar.xz |
watchdog: npcm: Remove unnecessary NULL check before clk_prepare_enable/clk_disable_unprepare
clk_prepare_enable() and clk_disable_unprepare() already checked
NULL clock parameter.Remove unneeded NULL check for clk here.
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20250313084420.2481763-1-nichen@iscas.ac.cn
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions