Commit 4afb04c0 authored by Ilya Dryomov's avatar Ilya Dryomov
Browse files

rbd: remove duplicate calls to rbd_dev_mapping_clear()

Commit d1cf5788 ("rbd: set mapping info earlier") defined
rbd_dev_mapping_clear(), but, just a few days after, commit
f35a4dee

 ("rbd: set the mapping size and features later") moved
rbd_dev_mapping_set() calls and added another rbd_dev_mapping_clear()
call instead of moving the old one.  Around the same time, another
duplicate was introduced in rbd_dev_device_release() - kill both.

Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
parent 6cac4695
Supports Markdown
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