Commit c46724cb authored by Genjian Zhang's avatar Genjian Zhang Committed by Christoph Hellwig

nvmet-auth: remove redundant parameters req

The parameter is not used in this function, so remove it.
Signed-off-by: default avatarGenjian Zhang <zhanggenjian@kylinos.cn>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 42147981
...@@ -177,7 +177,7 @@ static u16 nvmet_auth_reply(struct nvmet_req *req, void *d) ...@@ -177,7 +177,7 @@ static u16 nvmet_auth_reply(struct nvmet_req *req, void *d)
return 0; return 0;
} }
static u16 nvmet_auth_failure2(struct nvmet_req *req, void *d) static u16 nvmet_auth_failure2(void *d)
{ {
struct nvmf_auth_dhchap_failure_data *data = d; struct nvmf_auth_dhchap_failure_data *data = d;
...@@ -308,7 +308,7 @@ void nvmet_execute_auth_send(struct nvmet_req *req) ...@@ -308,7 +308,7 @@ void nvmet_execute_auth_send(struct nvmet_req *req)
goto done_kfree; goto done_kfree;
break; break;
case NVME_AUTH_DHCHAP_MESSAGE_FAILURE2: case NVME_AUTH_DHCHAP_MESSAGE_FAILURE2:
status = nvmet_auth_failure2(req, d); status = nvmet_auth_failure2(d);
if (status) { if (status) {
pr_warn("ctrl %d qid %d: authentication failed (%d)\n", pr_warn("ctrl %d qid %d: authentication failed (%d)\n",
ctrl->cntlid, req->sq->qid, status); ctrl->cntlid, req->sq->qid, 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