Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torvalds/linux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>2019-06-20 07:56:58 +0300
committerJens Axboe <axboe@kernel.dk>2019-06-20 12:18:54 +0300
commit8c54803b98d5907b45fe98270be5ed4fbc7e4c4c (patch)
treec244752dcaa72bb47a270aa5bed76f7cb9598f48 /block/blk-mq-debugfs.c
parent2f578aaf51624aa6fcff041fc7dc5c2d4dfa447f (diff)
null_blk: remove duplicate 0 initialization
In function null_add_dev() struct nullb *nullb member is allocated using kzalloc_node() which returns 0red memory. In function setup_queues() which is called from the null_add_dev(), on successful queue allocation we set the nullb->nr_queues = 0 which is not needed due to earlier use of kzalloc_node(). Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-debugfs.c')
0 files changed, 0 insertions, 0 deletions