]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: Remove redundant null check
authorTian Tao <tiantao6@hisilicon.com>
Mon, 19 Oct 2020 06:04:22 +0000 (14:04 +0800)
committerRob Clark <robdclark@chromium.org>
Wed, 4 Nov 2020 16:26:26 +0000 (08:26 -0800)
commit59dee71529d80e8a6c552c946e4d82f9550bae02
treecabd012bd1963ee2d3025c75d358b9db832a932e
parent3829fa840e0f45a981eddf5a51df41c1040f6318
drm/msm: Remove redundant null check

clk_prepare_enable() and clk_disable_unprepare() will check
NULL clock parameter, so It is not necessary to add additional checks.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/msm_gpu.c