nvme-auth: remove redundant buffer deallocations
authorSagi Grimberg <sagi@grimberg.me>
Sun, 13 Nov 2022 11:24:09 +0000 (13:24 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 16 Nov 2022 07:36:34 +0000 (08:36 +0100)
commitf6b182fbd5c608bd6cbaaaee35b1325443f48043
treebce4070e60b31b0417f7ed532109e9ff2342581b
parentc7390f132a896ff1a3fa26ea2b0be4f9ceb9041e
nvme-auth: remove redundant buffer deallocations

host_response, host_key, ctrl_key and sess_key are
freed in nvme_auth_reset_dhchap which is called from
nvme_auth_free_dhchap.

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