Commit 7f879284390c ("drm/simple-kms: Switch to atomic_create_state")
replaced drm_simple_kms_plane_reset() with
drm_simple_kms_plane_create_state(), removing the only user of the
reset_plane hook. However, the hook itself was left behind in struct
drm_simple_display_pipe_funcs.

Remove it.

Fixes: 7f879284390c ("drm/simple-kms: Switch to atomic_create_state")
Signed-off-by: Maxime Ripard <[email protected]>
---
 include/drm/drm_simple_kms_helper.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/drm/drm_simple_kms_helper.h 
b/include/drm/drm_simple_kms_helper.h
index 4a4a840d84f1..2b31c25c57a9 100644
--- a/include/drm/drm_simple_kms_helper.h
+++ b/include/drm/drm_simple_kms_helper.h
@@ -40,11 +40,10 @@ struct drm_simple_display_pipe_funcs {
        int (*enable_vblank)(struct drm_simple_display_pipe *pipe);
        void (*disable_vblank)(struct drm_simple_display_pipe *pipe);
        struct drm_crtc_state * (*duplicate_crtc_state)(struct 
drm_simple_display_pipe *pipe);
        void (*destroy_crtc_state)(struct drm_simple_display_pipe *pipe,
                                   struct drm_crtc_state *crtc_state);
-       void (*reset_plane)(struct drm_simple_display_pipe *pipe);
        struct drm_plane_state * (*create_plane_state)(struct 
drm_simple_display_pipe *pipe);
        struct drm_plane_state * (*duplicate_plane_state)(struct 
drm_simple_display_pipe *pipe);
        void (*destroy_plane_state)(struct drm_simple_display_pipe *pipe,
                                    struct drm_plane_state *plane_state);
 };

-- 
2.55.0

Reply via email to