Commit b2b1ec9b authored by Matias Bjørling's avatar Matias Bjørling Committed by Jens Axboe
Browse files

NVMe: removed unused nn var from nvme_dev_add

The logic in nvme_dev_add to enumerate namespaces was moved to
nvme_dev_scan. When moved, the nn variable is no longer used. This patch
removes it.

Fixes: a5768aa8

i ("NVMe: Automatic namespace rescan")
Signed-off-by: default avatarMatias Bjørling <m@bjorling.me>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent e824410f
Supports Markdown
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