mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: remove logically dead code
In gk20a_cde_convert, we already unmap surface and then again try to unmap if it is mapped Remove this logically dead code Coverity id : 2477002 Bug 200291879 Change-Id: I66dbf43d0475403be27d5acee826d8037e71d4d8 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/1455974 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman <alexw@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
92ab6c3bbc
commit
a8c9571333
@@ -1122,8 +1122,6 @@ __releases(&cde_app->mutex)
|
||||
cde_ctx->init_cmd_executed = true;
|
||||
|
||||
/* unmap the buffers - channel holds references to them now */
|
||||
if (surface)
|
||||
dma_buf_vunmap(compbits_scatter_buf, surface);
|
||||
gk20a_vm_unmap(cde_ctx->vm, map_vaddr);
|
||||
|
||||
return err;
|
||||
|
||||
Reference in New Issue
Block a user