summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2016-07-13 11:03:58 -0700
committerJens Axboe <axboe@fb.com>2016-07-14 08:52:56 -0700
commitb09dcf585df959cf26270e65941ea1f79a1345aa (patch)
tree98600092d09d49797ed3abb493fb93b4dbe0cf15 /block
parent2fa843512bb5bbc0e876e4f55e22f26a3a8d3edb (diff)
downloadlinux-b09dcf585df959cf26270e65941ea1f79a1345aa.tar.bz2
NVMe: don't allocate unused nvme_major
When alloc_disk(0) is used, the ->major number is ignored. All device numbers are allocated with a major of BLOCK_EXT_MAJOR. So remove all references to nvme_major. [akpm@linux-foundation.org: one unregister_blkdev() was missed] Link: http://lkml.kernel.org/r/20160602064318.4403.93301.stgit@noble Signed-off-by: NeilBrown <neilb@suse.com> Reviewed-by: Keith Busch <keith.busch@intel.com> Cc: Jens Axboe <axboe@kernel.dk> Cc: Maxim Levitsky <maximlevitsky@gmail.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions