diff options
| author | Yihao Han <[email protected]> | 2022-06-08 11:43:25 +0000 |
|---|---|---|
| committer | Helge Deller <[email protected]> | 2022-06-20 18:19:50 +0000 |
| commit | b5c525abe717f2f41684b8581c13347d50d5285a (patch) | |
| tree | 834c24c8e7b93bc3b87b858a05e68beffdb383b9 /scripts/clang-tools/gen_compile_commands.py | |
| parent | video: fbdev: pxa3xx-gcu: Fix integer overflow in pxa3xx_gcu_write (diff) | |
| download | kernel-b5c525abe717f2f41684b8581c13347d50d5285a.tar.gz kernel-b5c525abe717f2f41684b8581c13347d50d5285a.zip | |
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 <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
