[libvirt] [PATCH] remove useless code