nvme-auth: remove unnecessary semicolon
Subsystems (2)
PATCH 1/2 nvme-auth: remove unnecessary semicolon
Remove the unnecessary semicolon to get rid of the warning:-
cocci warnings: (new ones prefixed by >>)
drivers/nvme/host/auth.c:742:2-3: Unneeded semicolon drivers/nvme/host/auth.c:751:2-3: Unneeded semicolon
Also, use this opportunity to align the following dev_dbg function parameters since they fit into one line.
Signed-off-by Chaitanya Kulkarni <[email protected]>
--- drivers/nvme/host/auth.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/nvme/host/auth.c +3 -3
@@ -739,9 +739,9 @@ static int nvme_auth_secure_concat(struct nvme_ctrl *ctrl,"%s: qid %d failed to generate digest, error %d\n" , __func__, chap->qid, ret); goto out_free_psk; - }; -dev_dbg (ctrl->device,"%s: generated digest %s\n" , - __func__, digest); + } +dev_dbg (ctrl->device,"%s: generated digest %s\n" , __func__, digest); + ret =nvme_auth_derive_tls_psk (chap->hash_id, psk, psk_len, digest, &tls_psk);if (ret) { dev_warn(ctrl->device,
Signature · 1 line
2.40.0