]> git.proxmox.com Git - mirror_qemu.git/commit
block/nvme: Extract nvme_free_queue() from nvme_free_queue_pair()
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Wed, 6 Oct 2021 16:49:29 +0000 (18:49 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 2 Nov 2021 14:49:13 +0000 (15:49 +0100)
commita8951438946d72d74c9bdbdb38fce95aa2973a88
treec1177eed73cfbec2ba5b681b4354549c82bc5d96
parent53cedeaaee9d585bd07eb921fa5557c64531f69b
block/nvme: Extract nvme_free_queue() from nvme_free_queue_pair()

Instead of duplicating code, extract the common helper to free
a single queue.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211006164931.172349-4-philmd@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/nvme.c