nvme-core: remove extra condition for vwc
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Thu, 1 Oct 2020 18:54:32 +0000 (11:54 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 7 Oct 2020 05:56:20 +0000 (07:56 +0200)
commitc4485252cf36ae62c8bf12c4aede72345cad0d2b
tree147c2de92c23672b08cb476d65e03d21c7458713
parentaf5d6f7ba5f99f8316473557240ae9acdd20a6bd
nvme-core: remove extra condition for vwc

In nvme_set_queue_limits() we initialize vwc to false and later add
a condition to set vwc true. The value of the vwc can be declare
initialized which makes all the blk_queue_XXX() calls uniform.

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c