diff options
author | NeilBrown <neilb@suse.com> | 2016-07-27 09:32:44 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2016-07-28 00:56:34 +1000 |
commit | 6a2bd4a17be7a69d419b61932db74527f31c27c7 (patch) | |
tree | 0b0da21c193dd81c00f1f7e64946b30460a4c859 /drivers/pps/kapi.c | |
parent | d539fdfa610ae2713ca8a8c6f297f545ec98006d (diff) | |
download | linux-next-6a2bd4a17be7a69d419b61932db74527f31c27c7.tar.gz |
memstick: don't allocate unused major for ms_block
When alloc_disk(0) is used the ->major number is completely ignored. All
devices are allocated with a major of BLOCK_EXT_MAJOR.
So remove registration and deregistration of 'major'.
Link: http://lkml.kernel.org/r/20160602064318.4403.49955.stgit@noble
Signed-off-by: NeilBrown <neilb@suse.com>
Cc: Keith Busch <keith.busch@intel.com>
Cc: Jens Axboe <axboe@fb.com>
Cc: Maxim Levitsky <maximlevitsky@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/pps/kapi.c')
0 files changed, 0 insertions, 0 deletions