mirror of
https://github.com/torvalds/linux.git
synced 2024-11-30 16:11:38 +00:00
habanalabs: fix double assignment in MMU V1
Removing double assignment of the hop2_pte_addr variable in dram_default_mapping_fini(). Dead store reported by clang-analyzer. Signed-off-by: Marco Pagani <marpagan@redhat.com> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
This commit is contained in:
parent
cda6797b00
commit
8364fb3cdd
@ -344,7 +344,6 @@ static void dram_default_mapping_fini(struct hl_ctx *ctx)
|
||||
}
|
||||
}
|
||||
|
||||
hop2_pte_addr = hop2_addr;
|
||||
hop2_pte_addr = hop2_addr;
|
||||
for (i = 0 ; i < num_of_hop3 ; i++) {
|
||||
clear_pte(ctx, hop2_pte_addr);
|
||||
|
Loading…
Reference in New Issue
Block a user