drm/ast: drop duplicate initialization
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 2 Oct 2012 08:26:46 +0000 (08:26 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 3 Oct 2012 00:34:28 +0000 (10:34 +1000)
We set ".disable" to "ast_crtc_disable" twice.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ast/ast_mode.c

index f3b2a7c..e87f1ff 100644 (file)
@@ -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,