Commit e55a8bd8 authored by Thierry Reding's avatar Thierry Reding

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: default avatarThierry Reding <treding@nvidia.com>
parent a8b48df5
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment