On 03/18/2016 04:31 AM, Kevin Wolf wrote: > The call in hmp_drive_del() is dead code because blk_remove_bs() is > called a few lines above. The only other remaining user is > bdrv_delete(), which only abuses bdrv_make_anon() to remove it from the > named nodes list. This path inlines the list entry removal into > bdrv_delete() and removes bdrv_make_anon(). > > Signed-off-by: Kevin Wolf <[email protected]> > --- > block.c | 15 +++------------ > blockdev.c | 3 --- > include/block/block.h | 1 - > 3 files changed, 3 insertions(+), 16 deletions(-)
Nice diffstat, as well. Reviewed-by: Eric Blake <[email protected]> -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
