commit | af622b86665881ffa96bc77fb89c94fae02cfa6b | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Tue May 23 17:49:54 2017 +0200 |
committer | Jens Axboe <axboe@fb.com> | Tue May 30 08:15:07 2017 -0600 |
tree | efce28ae8a62183077aedbfa7996e4a103e6068d | |
parent | 8aa6382907fa495e6b8b8184b53e36d142ffd8da [diff] |
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: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Josef Bacik <jbacik@fb.com> Signed-off-by: Jens Axboe <axboe@fb.com>