diff options
author | NeilBrown | 2016-07-13 11:03:58 -0700 |
---|---|---|
committer | Jens Axboe | 2016-07-14 08:52:56 -0700 |
commit | b09dcf585df959cf26270e65941ea1f79a1345aa (patch) | |
tree | 98600092d09d49797ed3abb493fb93b4dbe0cf15 /arch | |
parent | 2fa843512bb5bbc0e876e4f55e22f26a3a8d3edb (diff) |
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 'arch')
0 files changed, 0 insertions, 0 deletions