Skip to content

Commit

Permalink
drm/exynos/vidi: remove useless ops->commit()
Browse files Browse the repository at this point in the history
vidi_commit does nothing, remove it and its callers.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
  • Loading branch information
Gustavo Padovan authored and Inki Dae committed Jan 25, 2015
1 parent fe42cfb commit d6d0085
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions drivers/gpu/drm/exynos/exynos_drm_vidi.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,17 +115,6 @@ static void vidi_apply(struct exynos_drm_manager *mgr)
if (win_data->enabled && (mgr_ops && mgr_ops->win_commit))
mgr_ops->win_commit(mgr, i);
}

if (mgr_ops && mgr_ops->commit)
mgr_ops->commit(mgr);
}

static void vidi_commit(struct exynos_drm_manager *mgr)
{
struct vidi_context *ctx = manager_to_vidi(mgr);

if (ctx->suspended)
return;
}

static int vidi_enable_vblank(struct exynos_drm_manager *mgr)
Expand Down Expand Up @@ -320,7 +309,6 @@ static int vidi_mgr_initialize(struct exynos_drm_manager *mgr,

static struct exynos_drm_manager_ops vidi_manager_ops = {
.dpms = vidi_dpms,
.commit = vidi_commit,
.enable_vblank = vidi_enable_vblank,
.disable_vblank = vidi_disable_vblank,
.win_mode_set = vidi_win_mode_set,
Expand Down

0 comments on commit d6d0085

Please sign in to comment.