video: tegra: nvmap: Remove identical code

The code from the if-then branch is identical to the code after the if
statement. Hence remove that identical code.

Bug 3952896
CID 10171716

Change-Id: I41eefccb9e37cddd983479db39ba7afb8fa0a3a9
Signed-off-by: Ketan Patil <ketanp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2894606
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Ketan Patil
2023-04-26 11:10:30 +00:00
committed by mobile promotions
parent 3b42f92d4d
commit 8fd904b84e

View File

@@ -663,8 +663,6 @@ int nvmap_flush_heap_block(struct nvmap_client *client,
ret = nvmap_cache_maint_phys_range(NVMAP_CACHE_OP_WB_INV, phys, end,
true, prot != NVMAP_HANDLE_INNER_CACHEABLE);
if (ret)
goto out;
out:
wmb();
return ret;