projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8b48df
)
drm/tegra: gem: Remove redundant drm_gem_free_mmap_offset()
author
Thierry Reding
<treding@nvidia.com>
Thu, 16 Oct 2014 12:23:36 +0000
(14:23 +0200)
committer
Thierry Reding
<treding@nvidia.com>
Thu, 13 Nov 2014 15:14:47 +0000
(16:14 +0100)
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>
drivers/gpu/drm/tegra/gem.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/tegra/gem.c
b/drivers/gpu/drm/tegra/gem.c
index b1d778a7f3e78fe2eef1b15f4a7b1f141f078595..a42d4c9a4d7dc8e7a1f122d2a89978858d160949 100644
(file)
--- 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);
}