[PATCH 1/3] qemu: Drop needless check in virDomainFSInfoFormat()

Ján Tomko jtomko at redhat.com
Mon Feb 15 16:54:59 UTC 2021


On a Monday in 2021, Michal Privoznik wrote:
>As the very first thing, this function checks whether the number
>of items inside @agentinfo array is not negative. This is
>redundant as the only caller - qemuDomainGetFSInfo() already
>checked for that and would not even call this function if that
>was the case.
>
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>---
> src/qemu/qemu_driver.c | 2 --
> 1 file changed, 2 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210215/32b70e47/attachment-0001.sig>


More information about the libvir-list mailing list