[libvirt] [PATCH] rpc: remove redundant logic