[PATCH 3/5] drm/vblank: Remove unused drm_crtc_vblank_count_and_time
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Mon Oct 28 15:49:03 UTC 2024
On Wed, Oct 23, 2024 at 12:29:32AM +0100, linux at treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux at treblig.org>
>
> drm_crtc_vblank_count_and_time() was explicitly added by
> commit cf6483050e9b ("drm/irq: Add drm_crtc_vblank_count_and_time()")
> in 2015, but never used.
>
> Remove it, and rework comments that reference it.
Not having the deep knowledge of the drm_vblank code, dropping the
function unused since 2015 should be fine.
Acked-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> Signed-off-by: Dr. David Alan Gilbert <linux at treblig.org>
> ---
> drivers/gpu/drm/drm_vblank.c | 44 +++++++-----------------------------
> include/drm/drm_vblank.h | 10 ++++----
> 2 files changed, 12 insertions(+), 42 deletions(-)
--
With best wishes
Dmitry
More information about the dri-devel
mailing list