Commit d2cfd689 authored by Oded Gabbay's avatar Oded Gabbay

habanalabs: remove duplicate print

We print detailed messages inside the internal ioctl functions. No need
to print a generic message at the end, it doesn't add any information.
Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
parent 930feb41
...@@ -3126,13 +3126,8 @@ static int hl_interrupt_wait_ioctl(struct hl_fpriv *hpriv, void *data) ...@@ -3126,13 +3126,8 @@ static int hl_interrupt_wait_ioctl(struct hl_fpriv *hpriv, void *data)
args->in.interrupt_timeout_us, args->in.addr, args->in.interrupt_timeout_us, args->in.addr,
args->in.target, interrupt, &status, args->in.target, interrupt, &status,
&timestamp); &timestamp);
if (rc) { if (rc)
if (rc != -EINTR)
dev_err_ratelimited(hdev->dev,
"interrupt_wait_ioctl failed (%d)\n", rc);
return rc; return rc;
}
memset(args, 0, sizeof(*args)); memset(args, 0, sizeof(*args));
args->out.status = status; args->out.status = status;
......
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