Skip to content
Commit e23439e9 authored by Hou Pu's avatar Hou Pu Committed by Christoph Hellwig
Browse files

nvme-fabrics: remove superfluous nvmf_host_put in nvmf_parse_options

Opts->host is NULL there. It is checked just before. So remove
nvmf_host_put. It is introduced by commit 59a2f3f0

 ("nvme: fix
potential memory leak in option parsing").

Signed-off-by: default avatarHou Pu <houpu.main@gmail.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 1751e97a
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