Skip to contentSkip to conversation

drm: Remove duplicate assignment

PATCH New Emil Goode 1 participant 1 message Jun 8, 2012

Subsystems (4)
lore
Share & tools
lore

Emil Goode

author
#0 lore raw

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

---
 drivers/gpu/drm/ast/ast_mode.c |    1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/ast/ast_mode.c +0 -1
index 65f9d23..967c6cf 100644
@@ -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