summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/ast
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-10-02 10:26:46 +0200
committerDave Airlie <airlied@redhat.com>2012-10-03 02:34:28 +0200
commit331c57537589c59ee5e35dd4ddf1d5a0e87972c7 (patch)
tree017c73af2edd3f5006253094c77971fb478fe14d /drivers/gpu/drm/ast
parentMerge branch 'drm-next-3.7' of git://people.freedesktop.org/~agd5f/linux into... (diff)
downloadlinux-331c57537589c59ee5e35dd4ddf1d5a0e87972c7.tar.xz
linux-331c57537589c59ee5e35dd4ddf1d5a0e87972c7.zip
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')
-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,