Skip to content
Commit 6251691a authored by Marcos Paulo de Souza's avatar Marcos Paulo de Souza Committed by Jens Axboe
Browse files

md: Make bio_alloc_mddev use bio_alloc_bioset



bio_alloc_bioset returns a bio pointer or NULL, so we can avoid storing
the returned data into a new variable.

Acked-by: default avatarGuoqing Jiang <gqjiang@suse.com>
Acked-by: default avatarArtur Paszkiewicz <artur.paszkiewicz@intel.com>
Signed-off-by: default avatarMarcos Paulo de Souza <marcos.souza.org@gmail.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 5bf85908
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment