From: Dan Carpenter Date: Tue, 2 Oct 2012 08:26:46 +0000 (+0000) Subject: drm/ast: drop duplicate initialization X-Git-Tag: v3.7-rc1~118^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=331c57537589c59ee5e35dd4ddf1d5a0e87972c7;p=profile%2Fivi%2Fkernel-x86-ivi.git drm/ast: drop duplicate initialization We set ".disable" to "ast_crtc_disable" twice. Signed-off-by: Dan Carpenter Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/ast/ast_mode.c b/drivers/gpu/drm/ast/ast_mode.c index f3b2a7c..e87f1ff 100644 --- a/drivers/gpu/drm/ast/ast_mode.c +++ b/drivers/gpu/drm/ast/ast_mode.c @@ -582,7 +582,6 @@ static const struct drm_crtc_helper_funcs ast_crtc_helper_funcs = { .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, .commit = ast_crtc_commit,