diff options
author | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2014-11-06 23:15:01 +0300 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2015-01-25 15:28:03 +0300 |
commit | d6d008584e965f560119f657ab43f0344792a666 (patch) | |
tree | 573d14eb9095681deea683b146e3450db1b51ff9 /drivers/gpu/drm/exynos | |
parent | fe42cfb4908602f2fb6db7b849e170d2fa26fea1 (diff) | |
download | linux-d6d008584e965f560119f657ab43f0344792a666.tar.xz |
drm/exynos/vidi: remove useless ops->commit()
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>
Diffstat (limited to 'drivers/gpu/drm/exynos')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_vidi.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_vidi.c b/drivers/gpu/drm/exynos/exynos_drm_vidi.c index ff194be5ebf0..7f9ce73f872c 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_vidi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_vidi.c @@ -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) @@ -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, |