summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorYihao Han <hanyihao@vivo.com>2022-06-08 14:43:25 +0300
committerHelge Deller <deller@gmx.de>2022-06-20 21:19:50 +0300
commitb5c525abe717f2f41684b8581c13347d50d5285a (patch)
tree834c24c8e7b93bc3b87b858a05e68beffdb383b9 /scripts/gdb/linux/proc.py
parenta09d2d00af53b43c6f11e6ab3cb58443c2cac8a7 (diff)
downloadlinux-b5c525abe717f2f41684b8581c13347d50d5285a.tar.xz
video: fbdev: au1100fb: Drop unnecessary NULL ptr check
clk_disable() already checks the clk ptr using IS_ERR_OR_NULL(clk) and clk_enable() checks the clk ptr using !clk, so there is no need to check clk ptr again before calling them. Signed-off-by: Yihao Han <hanyihao@vivo.com> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions