Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment