Skip to content
Snippets Groups Projects
Commit af622b86 authored by Ilya Dryomov's avatar Ilya Dryomov Committed by Jens Axboe
Browse files

nbd: nbd_reset() call in nbd_dev_add() is redundant


There is nothing to clear -- nbd_device has just been allocated.
Fold nbd_reset() into its other caller, nbd_config_put().

Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
Reviewed-by: default avatarJosef Bacik <jbacik@fb.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 8aa63829
No related branches found
No related tags found
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