rbd: remove duplicate calls to rbd_dev_mapping_clear()
authorIlya Dryomov <idryomov@gmail.com>
Thu, 22 Oct 2015 14:44:15 +0000 (16:44 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 2 Nov 2015 22:36:48 +0000 (23:36 +0100)
commit4afb04c0c88e21f37e5ef4776e432907d7b12838
tree1608f98ea08ea239840f0fea0739483a6340e0f8
parent6cac4695f2042a1d0e17aa48c5705f69907e74c3
rbd: remove duplicate calls to rbd_dev_mapping_clear()

Commit d1cf5788450e ("rbd: set mapping info earlier") defined
rbd_dev_mapping_clear(), but, just a few days after, commit
f35a4dee14c3 ("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: Ilya Dryomov <idryomov@gmail.com>
drivers/block/rbd.c