drm/msm/dpu: Remove dpu_crtc_is_enabled()
authorJordan Crouse <jcrouse@codeaurora.org>
Mon, 3 Dec 2018 22:47:16 +0000 (15:47 -0700)
committerRob Clark <robdclark@gmail.com>
Tue, 11 Dec 2018 18:10:16 +0000 (13:10 -0500)
commit49dfe764797b1eb0fe9e7f392645b9161d6cfce6
tree052d8878e09d7550da60f3e0a7a12d9057c51e3f
parent35d600dd92489bcec8e91279a9c708e0e11f4bd4
drm/msm/dpu: Remove dpu_crtc_is_enabled()

The static inline function dpu_crtc_enabled() is only called once
and the function that calls it in turn is only called once and
the return value can be easily checked in the calling functions
so collapse everything down.

v3: No changes

Reviewed-by: Sean Paul <sean@poorly.run>
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h