mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
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:
committed by
mobile promotions
parent
3b42f92d4d
commit
8fd904b84e
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user