summaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorChen Ni <nichen@iscas.ac.cn>2025-03-13 11:44:19 +0300
committerWim Van Sebroeck <wim@linux-watchdog.org>2025-03-16 13:00:32 +0300
commitad3746700ae238a96a9a4244d02a2e8eb00f157e (patch)
tree0f4e80f29cd0a2e87c6903c0b87edc811c4b8a52 /lib/string_helpers.c
parentc40524d1615a72548adc30dbfb15c981fd03dacb (diff)
downloadlinux-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 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions