drm: drop unused drm_crtc callback
authorSam Ravnborg <sam@ravnborg.org>
Sat, 15 Feb 2020 17:33:42 +0000 (18:33 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Sat, 15 Feb 2020 20:15:17 +0000 (21:15 +0100)
commit2f3ba73ae54f8372c1bd51cb594b2bf0ac8f9f3a
treeaf0eecf7b703c625b11f3c7115a83c41d4c49a66
parentacce61bf85f8744379640ec8dfca26a8c2096f1f
drm: drop unused drm_crtc callback

struct drm_encoder_helper_funcs included a callback
named drm_crtc.

There are no users left - so drop it.
There was one reference in drm_crtc_helper.c,
which checked if the value was not NULL.
As it was never assigned this check could be dropped.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200215173342.GA7458@ravnborg.org
drivers/gpu/drm/drm_crtc_helper.c
include/drm/drm_modeset_helper_vtables.h