nvme/fc: simplify error handling of nvme_fc_create_hw_io_queues
authorJohannes Thumshirn <jthumshirn@suse.de>
Thu, 15 Dec 2016 13:20:48 +0000 (14:20 +0100)
committerChristoph Hellwig <hch@lst.de>
Wed, 21 Dec 2016 10:34:25 +0000 (11:34 +0100)
commit17a1ec08ce7074f05795e5c32a3e5bc9a797bbf8
tree0e31831c2502e15d1eeba1de56f2aa8cb27635a8
parentc703489885218900579279cec4b4ab8e7fce383b
nvme/fc: simplify error handling of nvme_fc_create_hw_io_queues

Simplify the error handling of nvme_fc_create_hw_io_queues(), this saves us
one variable and one level of indentation.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviwed-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/fc.c