OSDN Git Service

nvme-auth: no need to reset chap contexts on re-authentication
authorSagi Grimberg <sagi@grimberg.me>
Sun, 13 Nov 2022 11:24:17 +0000 (13:24 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 16 Nov 2022 07:36:36 +0000 (08:36 +0100)
commite8a420efb637f52c586596283d6fd96f2a7ecb5c
treecb48825162faeafd88d417992f980ae00053c256
parent96df31839354c2bb9d2f0d51eb6c6f6b762fd150
nvme-auth: no need to reset chap contexts on re-authentication

Now that the chap context is reset upon completion, this is no longer
needed. Also remove nvme_auth_reset as no callers are left.

Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/auth.c
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h