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

2021-02-15 Thread Ján Tomko
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

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

2021-02-15 Thread Michal Privoznik
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 ---