mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 00:48:50 +00:00
drm/tegra: gem: Remove redundant drm_gem_free_mmap_offset()
The drm_gem_object_release() function already performs this cleanup, so there is no reason to do it explicitly. Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
a8b48df592
commit
e55a8bd8ea
1 changed files with 0 additions and 2 deletions
|
@ -247,9 +247,7 @@ void tegra_bo_free_object(struct drm_gem_object *gem)
|
|||
tegra_bo_destroy(gem->dev, bo);
|
||||
}
|
||||
|
||||
drm_gem_free_mmap_offset(gem);
|
||||
drm_gem_object_release(gem);
|
||||
|
||||
kfree(bo);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue