diff options
author | Thierry Reding <treding@nvidia.com> | 2014-10-16 16:23:36 +0400 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-11-13 18:14:47 +0300 |
commit | e55a8bd8ead046e5b7f78c321afc7594034257f9 (patch) | |
tree | 077691c2520c4d3d195cf99ccf2b24aae3452026 /drivers/gpu/drm/tegra | |
parent | a8b48df5925fad5ba9ebc49c80ef60774cc97628 (diff) | |
download | linux-e55a8bd8ead046e5b7f78c321afc7594034257f9.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/tegra')
-rw-r--r-- | drivers/gpu/drm/tegra/gem.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/tegra/gem.c b/drivers/gpu/drm/tegra/gem.c index b1d778a7f3e7..a42d4c9a4d7d 100644 --- a/drivers/gpu/drm/tegra/gem.c +++ b/drivers/gpu/drm/tegra/gem.c @@ -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); } |