NVMe: removed unused nn var from nvme_dev_add
authorMatias Bjørling <m@bjorling.me>
Tue, 18 Aug 2015 16:13:41 +0000 (10:13 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 18 Aug 2015 16:13:41 +0000 (10:13 -0600)
commitb2b1ec9b55ed0840956db15f823c4a73383c08be
tree3af8e213a26c702bb1f58c8a1012f2bef59cc040
parente824410ffcf4b245296b56c6fdf7b9797fce8c3e
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: a5768aai ("NVMe: Automatic namespace rescan")
Signed-off-by: Matias Bjørling <m@bjorling.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nvme-core.c