diff options
author | Thierry Reding <treding@nvidia.com> | 2017-08-30 19:02:51 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2017-12-13 15:42:21 +0300 |
commit | b652ab1db477f8556c098adb2e5951f36ce1f0c4 (patch) | |
tree | 91961e23d740cd346ad75f29eb9bd37eba23d443 /drivers/gpu/drm/tegra | |
parent | c1cb4b6171aeaee06a8d70e93ef57f7923f50010 (diff) | |
download | linux-b652ab1db477f8556c098adb2e5951f36ce1f0c4.tar.xz |
drm/tegra: dc: Remove tegra_overlay_plane_destroy()
This function is a simple wrapper around tegra_plane_destroy(), so it
can be dropped.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra')
-rw-r--r-- | drivers/gpu/drm/tegra/dc.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/gpu/drm/tegra/dc.c b/drivers/gpu/drm/tegra/dc.c index a3f2924824dc..e60f44a186bb 100644 --- a/drivers/gpu/drm/tegra/dc.c +++ b/drivers/gpu/drm/tegra/dc.c @@ -825,15 +825,10 @@ static struct drm_plane *tegra_dc_cursor_plane_create(struct drm_device *drm, return &plane->base; } -static void tegra_overlay_plane_destroy(struct drm_plane *plane) -{ - tegra_plane_destroy(plane); -} - static const struct drm_plane_funcs tegra_overlay_plane_funcs = { .update_plane = drm_atomic_helper_update_plane, .disable_plane = drm_atomic_helper_disable_plane, - .destroy = tegra_overlay_plane_destroy, + .destroy = tegra_plane_destroy, .reset = tegra_plane_reset, .atomic_duplicate_state = tegra_plane_atomic_duplicate_state, .atomic_destroy_state = tegra_plane_atomic_destroy_state, |