Re: [PATCH 3/5] drm/vblank: Remove unused drm_crtc_vblank_count_and_time

From: Dmitry Baryshkov
Date: Mon Oct 28 2024 - 11:49:17 EST


On Wed, Oct 23, 2024 at 12:29:32AM +0100, linux@xxxxxxxxxxx wrote:
> From: "Dr. David Alan Gilbert" <linux@xxxxxxxxxxx>
>
> 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@xxxxxxxxxx>


> Signed-off-by: Dr. David Alan Gilbert <linux@xxxxxxxxxxx>
> ---
> drivers/gpu/drm/drm_vblank.c | 44 +++++++-----------------------------
> include/drm/drm_vblank.h | 10 ++++----
> 2 files changed, 12 insertions(+), 42 deletions(-)

--
With best wishes
Dmitry