drm: Remove duplicate assignment
PATCH 1/1 drm: Remove duplicate assignment
Lets remove the double assignment of the
function pointer disable.
Sparse gives a warning:drivers/gpu/drm/ast/ast_mode.c:583:10: warning:
Initializer entry defined twice
drivers/gpu/drm/ast/ast_mode.c:585:10:
also defined here
Signed-off-by Emil Goode <[email protected]>
--- drivers/gpu/drm/ast/ast_mode.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/ast/ast_mode.c +0 -1
@@ -580,7 +580,6 @@ static const struct drm_crtc_helper_funcs ast_crtc_helper_funcs = { .mode_fixup = ast_crtc_mode_fixup, .mode_set = ast_crtc_mode_set, .mode_set_base = ast_crtc_mode_set_base, - .disable = ast_crtc_disable, .load_lut = ast_crtc_load_lut, .disable = ast_crtc_disable, .prepare = ast_crtc_prepare,
Signature · 1 line
1.7.10