Skip to content
Commit ff8e92d5 authored by NeilBrown's avatar NeilBrown Committed by Dan Williams
Browse files

nvdimm/btt: don't allocate unused major device number



alloc_disk(0) does not require or use a ->major number,
all devices are allocated with a major of BLOCK_EXT_MAJOR.

So don't allocate btt_major.

Signed-off-by: default avatarNeilBrown <neilb@suse.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent ec56151d
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