summaryrefslogtreecommitdiff
path: root/drivers/nvdimm/btt.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2016-03-09 01:21:54 +0300
committerDan Williams <dan.j.williams@intel.com>2016-03-09 22:31:34 +0300
commit55155291b32d24371256adbcc67f9f53cf3f314f (patch)
treec5ff7bdc93a893e56a2c80ed6d6ca1ac58da886a /drivers/nvdimm/btt.c
parentaf1996ef59dbcb36fe4878df7c717a02eb89d07a (diff)
downloadlinux-55155291b32d24371256adbcc67f9f53cf3f314f.tar.xz
pmem: don't allocate unused major device number
When alloc_disk(0) or alloc_disk-node(0, XX) is used, the ->major number is completely ignored: all devices are allocated with a major of BLOCK_EXT_MAJOR. So there is no point allocating pmem_major. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/btt.c')
0 files changed, 0 insertions, 0 deletions