Commit 1f2c999b authored by Oded Gabbay's avatar Oded Gabbay

habanalabs: remove redundant memory clear

The driver allocates memory for fence object with GFP_ZERO flag, so there
is no need to explicitly write 0 to the allocated object after the
allocation.
Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
parent cbe722e4
......@@ -2823,8 +2823,6 @@ static int goya_send_job_on_qman0(struct hl_device *hdev, struct hl_cs_job *job)
return -ENOMEM;
}
*fence_ptr = 0;
goya_qman0_set_security(hdev, true);
cb = job->patched_cb;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment