]> www.infradead.org Git - nvme.git/commit
nvmet-fc: inline nvmet_fc_free_hostport
authorDaniel Wagner <wagi@kernel.org>
Tue, 8 Apr 2025 15:29:07 +0000 (17:29 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 9 Apr 2025 11:03:56 +0000 (13:03 +0200)
commit88517565b5929436741012938702385ef885a9c2
tree4a8ab832148d76467c751556759635e2a7e9cc50
parentaeaa0913a6994bf56572a7035df3bce9ea183556
nvmet-fc: inline nvmet_fc_free_hostport

No need for this tiny helper with only one user, let's inline it.

And since the hostport ref counter needs to stay in sync, it's not
optional anymore to give back the reference.

Signed-off-by: Daniel Wagner <wagi@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/fc.c