On Wed, Oct 23, 2024 at 12:29:32AM +0100, li...@treblig.org wrote: > From: "Dr. David Alan Gilbert" <li...@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.barysh...@linaro.org> > Signed-off-by: Dr. David Alan Gilbert <li...@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