]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: virresctrl: Use g_strsplit instead of virStringSplitCount
authorPeter Krempa <pkrempa@redhat.com>
Tue, 23 Mar 2021 17:06:33 +0000 (18:06 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 12 Apr 2021 13:55:10 +0000 (15:55 +0200)
commit02a0d2e08c37eee1488d2c98dc6342bffc661309
tree8d328dcbf8d938419aba71f4615e5b509f401923
parent3fa15af8e1b38b025ded71a317e7e19da2b160f6
util: virresctrl: Use g_strsplit instead of virStringSplitCount

In 3 of 4 instances the code didn't even need the count of the elements.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/util/virresctrl.c