Commit d6d00858 authored by Gustavo Padovan's avatar Gustavo Padovan Committed by Inki Dae

drm/exynos/vidi: remove useless ops->commit()

vidi_commit does nothing, remove it and its callers.
Signed-off-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent fe42cfb4
...@@ -115,17 +115,6 @@ static void vidi_apply(struct exynos_drm_manager *mgr) ...@@ -115,17 +115,6 @@ static void vidi_apply(struct exynos_drm_manager *mgr)
if (win_data->enabled && (mgr_ops && mgr_ops->win_commit)) if (win_data->enabled && (mgr_ops && mgr_ops->win_commit))
mgr_ops->win_commit(mgr, i); 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) static int vidi_enable_vblank(struct exynos_drm_manager *mgr)
...@@ -320,7 +309,6 @@ static int vidi_mgr_initialize(struct exynos_drm_manager *mgr, ...@@ -320,7 +309,6 @@ static int vidi_mgr_initialize(struct exynos_drm_manager *mgr,
static struct exynos_drm_manager_ops vidi_manager_ops = { static struct exynos_drm_manager_ops vidi_manager_ops = {
.dpms = vidi_dpms, .dpms = vidi_dpms,
.commit = vidi_commit,
.enable_vblank = vidi_enable_vblank, .enable_vblank = vidi_enable_vblank,
.disable_vblank = vidi_disable_vblank, .disable_vblank = vidi_disable_vblank,
.win_mode_set = vidi_win_mode_set, .win_mode_set = vidi_win_mode_set,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment