rbd: kill __rbd_remove()
authorAlex Elder <elder@inktank.com>
Fri, 26 Apr 2013 20:44:36 +0000 (15:44 -0500)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:19:53 +0000 (21:19 -0700)
commitb480815a17bc6bfe85d4931c53e5a8fded7f889e
treec7eb660756db8554fc95bf97fe55aaf155d9b3a2
parentd1cf5788450e1781f63a0626a854fe8309b32cb1
rbd: kill __rbd_remove()

The function __rbd_remove() is used in two spots, and it's fairly
simple.  It combines cleanup of part of the ceph-side state as well
as cleaning up the Linux-side state.  Just open code it in the two
callers and eliminate the function.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c