Skip to content

Commit b6160cd

Browse files
Jiapeng ChongChristoph Hellwig
authored andcommitted
nvme-auth: remove unneeded semicolon
No functional modification involved. ./drivers/nvme/host/auth.c:745:2-3: Unneeded semicolon. ./drivers/nvme/host/auth.c:755:2-3: Unneeded semicolon. Reported-by: Abaci Robot <[email protected]> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=22937 Signed-off-by: Jiapeng Chong <[email protected]> Reviewed-by: Chaitanya Kulkarni <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
1 parent 4e6e151 commit b6160cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/nvme/host/auth.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ static int nvme_auth_secure_concat(struct nvme_ctrl *ctrl,
742742
"%s: qid %d failed to generate digest, error %d\n",
743743
__func__, chap->qid, ret);
744744
goto out_free_psk;
745-
};
745+
}
746746
dev_dbg(ctrl->device, "%s: generated digest %s\n",
747747
__func__, digest);
748748
ret = nvme_auth_derive_tls_psk(chap->hash_id, psk, psk_len,
@@ -752,7 +752,7 @@ static int nvme_auth_secure_concat(struct nvme_ctrl *ctrl,
752752
"%s: qid %d failed to derive TLS psk, error %d\n",
753753
__func__, chap->qid, ret);
754754
goto out_free_digest;
755-
};
755+
}
756756

757757
tls_key = nvme_tls_psk_refresh(ctrl->opts->keyring,
758758
ctrl->opts->host->nqn,

0 commit comments

Comments
 (0)