drm/msm/dpu: remove NULL-ness check in dpu_hw_intr_destroy
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sat, 7 May 2022 11:40:09 +0000 (14:40 +0300)
committerRob Clark <robdclark@chromium.org>
Sat, 7 May 2022 16:56:42 +0000 (09:56 -0700)
commitdfba7f5b24d1877f57f3ca296f8a654a23637149
treef5fc2d2947191a22478485e9117c63a723a7e192
parent4a257ca694015f8c10aeb27bc4b32282d136b7d0
drm/msm/dpu: remove NULL-ness check in dpu_hw_intr_destroy

There is no need to check that kfree() argument is not NULL. Remove
extra check and call kfree() unconditionally.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20220507114009.1696278-1-dmitry.baryshkov@linaro.org
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c