Skip to content
Commit 253fd4ac authored by Israel Rukshin's avatar Israel Rukshin Committed by Keith Busch
Browse files

nvme-pci: Re-order nvme_pci_free_ctrl



Destroy the resources in the same order like in nvme_probe error flow to
improve code readability.

Signed-off-by: default avatarIsrael Rukshin <israelr@mellanox.com>
Reviewed-by: default avatarMax Gurtovoy <maxg@mellanox.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
parent 6721c18a
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