diff options
author | T.J. Mercier <tjmercier@google.com> | 2022-07-06 20:29:24 +0200 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2022-08-19 18:31:45 +0200 |
commit | 6cffb1c27f2d05047c7f569c425fd56d11ae89b2 (patch) | |
tree | 4d3fef806e565db8818d726b280bc2b13c75711b /drivers/gpu | |
parent | drm/etnaviv: print offender task information on hangcheck recovery (diff) | |
download | linux-6cffb1c27f2d05047c7f569c425fd56d11ae89b2.tar.xz linux-6cffb1c27f2d05047c7f569c425fd56d11ae89b2.zip |
drm/etnaviv: Remove duplicate call to drm_gem_free_mmap_offset
The docs explicitly say the drm_gem_object_release function already calls this,
and this does not appear to be a prerequisite for the call to
etnaviv_gem_ops.release.
Signed-off-by: T.J. Mercier <tjmercier@google.com>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/etnaviv/etnaviv_gem.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_gem.c b/drivers/gpu/drm/etnaviv/etnaviv_gem.c index cc386f8a7116..ecb828e4e156 100644 --- a/drivers/gpu/drm/etnaviv/etnaviv_gem.c +++ b/drivers/gpu/drm/etnaviv/etnaviv_gem.c @@ -504,7 +504,6 @@ void etnaviv_gem_free_object(struct drm_gem_object *obj) kfree(mapping); } - drm_gem_free_mmap_offset(obj); etnaviv_obj->ops->release(etnaviv_obj); drm_gem_object_release(obj); |