Re: [libvirt PATCH v2 3/3] nodedev: remove unnecessary checks for NULL cmd

2021-04-21 Thread Michal Privoznik
On 4/21/21 5:52 PM, Jonathon Jongsma wrote: virCommandRun() already handles the case where the cmd argument is NULL, so there's no need for the caller to check. Make all callers consistent and remove unnecessary NULL checks. Signed-off-by: Jonathon Jongsma ---

[libvirt PATCH v2 3/3] nodedev: remove unnecessary checks for NULL cmd

2021-04-21 Thread Jonathon Jongsma
virCommandRun() already handles the case where the cmd argument is NULL, so there's no need for the caller to check. Make all callers consistent and remove unnecessary NULL checks. Signed-off-by: Jonathon Jongsma --- src/node_device/node_device_driver.c | 6 -- 1 file changed, 6