nvme: Use nvme_state_terminal helper
authorIsrael Rukshin <israelr@mellanox.com>
Tue, 10 Mar 2020 14:39:10 +0000 (16:39 +0200)
committerKeith Busch <kbusch@kernel.org>
Wed, 25 Mar 2020 19:51:55 +0000 (04:51 +0900)
commite7c43feae2ab8744c3112b5a714959c8ea71ca19
tree15d3de4848e5e3993eb8a45724c9e3b8a4e3f52b
parentf41cfd5d0a04b12a5dae753cd01163661432ebbb
nvme: Use nvme_state_terminal helper

Improve code readability.

Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Israel Rukshin <israelr@mellanox.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/core.c