video: fbdev: au1100fb: Drop unnecessary NULL ptr check
authorYihao Han <hanyihao@vivo.com>
Wed, 8 Jun 2022 11:43:25 +0000 (04:43 -0700)
committerHelge Deller <deller@gmx.de>
Mon, 20 Jun 2022 18:19:50 +0000 (20:19 +0200)
commitb5c525abe717f2f41684b8581c13347d50d5285a
tree834c24c8e7b93bc3b87b858a05e68beffdb383b9
parenta09d2d00af53b43c6f11e6ab3cb58443c2cac8a7
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>
drivers/video/fbdev/au1100fb.c