summaryrefslogtreecommitdiffstats
path: root/drivers/misc/habanalabs/mmu.c
diff options
context:
space:
mode:
authorOmer Shpigelman <oshpigelman@habana.ai>2020-07-07 23:29:54 +0200
committerOded Gabbay <oded.gabbay@gmail.com>2020-07-24 19:31:36 +0200
commit9158c47e2059967038b19d051a1afd87954fbba4 (patch)
tree38d41e4a7693cc681f4f41e5b9199a3c7b8a3ff1 /drivers/misc/habanalabs/mmu.c
parenthabanalabs: use queue pi/ci in order to determine queue occupancy (diff)
downloadlinux-9158c47e2059967038b19d051a1afd87954fbba4.tar.xz
linux-9158c47e2059967038b19d051a1afd87954fbba4.zip
habanalabs: remove unused hash
Remove an old hash that is not in use anymore. Signed-off-by: Omer Shpigelman <oshpigelman@habana.ai> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/misc/habanalabs/mmu.c')
-rw-r--r--drivers/misc/habanalabs/mmu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/habanalabs/mmu.c b/drivers/misc/habanalabs/mmu.c
index a290d6b49d78..04303950e630 100644
--- a/drivers/misc/habanalabs/mmu.c
+++ b/drivers/misc/habanalabs/mmu.c
@@ -502,7 +502,6 @@ int hl_mmu_ctx_init(struct hl_ctx *ctx)
return 0;
mutex_init(&ctx->mmu_lock);
- hash_init(ctx->mmu_phys_hash);
hash_init(ctx->mmu_shadow_hash);
return dram_default_mapping_init(ctx);