On Thu, Jun 07, 2018 at 03:54:28PM +0200, Martin Kletzander wrote:
There is no need to have virResctrlGetInfo() when it must be called
after
virResctrlInfoNew() anyway, otherwise it's just an unusable object. When we
wrap the logic inside the New() function we'll save some calls later as well.
Signed-off-by: Martin Kletzander <mkletzan(a)redhat.com>
---
src/conf/capabilities.c | 2 +-
src/libvirt_private.syms | 1 -
src/util/virresctrl.c | 15 +++++++++++++--
src/util/virresctrl.h | 3 ---
4 files changed, 14 insertions(+), 7 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano