summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/ast/ast_mode.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-10-02 08:26:46 +0000
committerDave Airlie <airlied@redhat.com>2012-10-03 10:34:28 +1000
commit331c57537589c59ee5e35dd4ddf1d5a0e87972c7 (patch)
tree017c73af2edd3f5006253094c77971fb478fe14d /drivers/gpu/drm/ast/ast_mode.c
parent8ff1f792dd68ad46f3cfe01e01a375b402cf08da (diff)
drm/ast: drop duplicate initialization
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>
Diffstat (limited to 'drivers/gpu/drm/ast/ast_mode.c')
-rw-r--r--drivers/gpu/drm/ast/ast_mode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ast/ast_mode.c b/drivers/gpu/drm/ast/ast_mode.c
index f3b2a7cce744..e87f1ff223f4 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,