nvme: simplify nvme_dev_attrs_are_visible
authorChristoph Hellwig <hch@lst.de>
Mon, 26 Jun 2017 10:39:03 +0000 (12:39 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 28 Jun 2017 14:14:13 +0000 (08:14 -0600)
commit49d3d50b0d4eb0c86c1dae864586f1b26ccd1f5b
tree1e9777402640b9513186435ab559fa279628ff58
parent180de0070048340868c7bc841fc12e75556bb629
nvme: simplify nvme_dev_attrs_are_visible

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c